예제 #1
0
 public static function onWorkflowStatusChange($documentId, $workflowId, $status)
 {
     if ($status == CBPWorkflowStatus::Completed) {
         CListsLiveFeed::setMessageLiveFeed(array(), $documentId, $workflowId, true);
     }
     if ($status == CBPWorkflowStatus::Terminated) {
         CLists::deleteSocnetLog(array($workflowId));
     }
 }