PHP Class ezcWorkflowNodeCancel, Workflow

A complete process instance is removed. This includes currently executing tasks, those which may execute at some future time and all sub-processes. The process instance is recorded as having completed unsuccessfully. Incoming nodes: 1 Outgoing nodes: 0..1
Inheritance: extends ezcWorkflowNodeEnd
Show file Open project: zetacomponents/workflow

Protected Properties

Property Type Description
$maxOutNodes integer Constraint: The maximum number of outgoing nodes this node has to have to be valid. Set to false to disable this constraint.
$minOutNodes integer Constraint: The minimum number of outgoing nodes this node has to have to be valid. Set to false to disable this constraint.

Public Methods

Method Description
activate ( ezcWorkflowExecution $execution, ezcWorkflowNode $activatedFrom = null, integer $threadId ) Cancels the execution of this workflow.

Method Details

activate() public method

Cancels the execution of this workflow.
public activate ( ezcWorkflowExecution $execution, ezcWorkflowNode $activatedFrom = null, integer $threadId )
$execution ezcWorkflowExecution
$activatedFrom ezcWorkflowNode
$threadId integer

Property Details

$maxOutNodes protected property

Constraint: The maximum number of outgoing nodes this node has to have to be valid. Set to false to disable this constraint.
protected int $maxOutNodes
return integer

$minOutNodes protected property

Constraint: The minimum number of outgoing nodes this node has to have to be valid. Set to false to disable this constraint.
protected int $minOutNodes
return integer