public function RecentWorkflowComment($limit = 10)
    {
        if ($actions = $this->getWorkflowHistory($limit)) {
            foreach ($actions as $action) {
                if ($action->Comment != '') {
                    return $action;
                }
            }
        }
    }
public function RecentWorkflowComment($limit = 10)
    {
        if ($actions = $this->getWorkflowHistory($limit)) {
            foreach ($actions as $action) {
                if ($action->Comment != '') {
                    return $action;
                }
            }
        }
    }
public function RecentWorkflowComment ( $ limit = 10 ) { if ( $ actions = $ this -> getWorkflowHistory ( $ limit ) ) { foreach ( $ actions as $ action ) { if ( $ action -> Comment != '' ) { return $ action ; } } } }
Check all recent WorkflowActionIntances and return the most recent one with a Comment

@param int $limit
@return WorkflowActionInstance|null
Check all recent WorkflowActionIntances and return the most recent one with a Comment