cancel() public method

Cancels workflow execution with the node $endNode.
public cancel ( ezcWorkflowNode $node = null )
$node ezcWorkflowNode
Esempio n. 1
0
 /**
  * Cancels the execution of this workflow.
  *
  * @param ezcWorkflowExecution $execution
  * @param ezcWorkflowNode      $activatedFrom
  * @param int                  $threadId
  * @ignore
  */
 public function activate(ezcWorkflowExecution $execution, ezcWorkflowNode $activatedFrom = null, $threadId = 0)
 {
     $execution->cancel($this);
 }