2 require_once
'./Services/WorkflowEngine/classes/workflows/class.ilBaseWorkflow.php';
3 require_once
'./Services/WorkflowEngine/classes/nodes/class.ilBasicNode.php';
4 require_once
'./Services/WorkflowEngine/classes/nodes/class.ilPluginNode.php';
5 require_once
'./Services/WorkflowEngine/classes/emitters/class.ilActivationEmitter.php';
6 require_once
'./Services/WorkflowEngine/classes/detectors/class.ilSimpleDetector.php';
17 $this->
addNode($_v_StartEvent_1);
23 $this->
addNode($_v_ComplexGateway_2);
29 $_v_ComplexGateway_2->addDetector($_v_ComplexGateway_2_detector);
31 $_v_StartEvent_1_emitter->setTargetDetector($_v_ComplexGateway_2_detector);
32 $_v_StartEvent_1->addEmitter($_v_StartEvent_1_emitter);
35 $_v_EndEvent_2->addDetector($_v_EndEvent_2_detector);
37 $_v_ComplexGateway_2_emitter->setTargetDetector($_v_EndEvent_2_detector);
38 $_v_ComplexGateway_2->addEmitter($_v_ComplexGateway_2_emitter);
addNode(ilNode $node)
This method adds a node to the workflow.
static $startEventRequired
setStartNode(ilNode $node)
Sets the start node of the workflow.