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/emitters/class.ilActivationEmitter.php';
5 require_once
'./Services/WorkflowEngine/classes/detectors/class.ilSimpleDetector.php';
17 $_v_EndEvent_4->setName(
'$_v_EndEvent_4');
20 $this->
addNode($_v_StartEvent_2);
21 $_v_StartEvent_2->setName(
'$_v_StartEvent_2');
26 $_v_ManualTask_1->setName(
'$_v_ManualTask_1');
27 $this->
addNode($_v_ManualTask_1);
30 $_v_ManualTask_1_detector->setName(
'$_v_ManualTask_1_detector');
31 $_v_ManualTask_1_detector->setSourceNode($_v_StartEvent_2);
32 $_v_ManualTask_1->addDetector($_v_ManualTask_1_detector);
34 $_v_StartEvent_2_emitter->setName(
'$_v_StartEvent_2_emitter');
35 $_v_StartEvent_2_emitter->setTargetDetector($_v_ManualTask_1_detector);
36 $_v_StartEvent_2->addEmitter($_v_StartEvent_2_emitter);
39 $_v_EndEvent_4_detector->setName(
'$_v_EndEvent_4_detector');
40 $_v_EndEvent_4_detector->setSourceNode($_v_ManualTask_1);
41 $_v_EndEvent_4->addDetector($_v_EndEvent_4_detector);
43 $_v_ManualTask_1_emitter->setName(
'$_v_ManualTask_1_emitter');
44 $_v_ManualTask_1_emitter->setTargetDetector($_v_EndEvent_4_detector);
45 $_v_ManualTask_1->addEmitter($_v_ManualTask_1_emitter);
static $startEventRequired
addNode(ilNode $node)
This method adds a node to the workflow.
setStartNode(ilNode $node)
Sets the start node of the workflow.