22 die(
"Usage: workflow.php username password client\r\n");
25 chdir(dirname(__FILE__));
28 include_once
'./Services/Authentication/classes/class.ilAuthFactory.php';
36 include_once
'./include/inc.header.php';
39 echo "-------------------------------------------------------------------------------\r\n";
40 echo "Executing tutorial workflow: ilPetriNetWorkflow1\r\n";
41 echo "-------------------------------------------------------------------------------\r\n";
42 require_once
'./Services/WorkflowEngine/classes/tutorial/class.ilPetriNetWorkflow1.php';
44 echo "\r\n\r\n\r\n\r\n\r\n";
48 echo "-------------------------------------------------------------------------------\r\n";
49 echo "Executing tutorial workflow: ilPetriNetWorkflow2\r\n";
50 echo "-------------------------------------------------------------------------------\r\n";
51 require_once
'./Services/WorkflowEngine/classes/tutorial/class.ilPetriNetWorkflow2.php';
53 echo "\r\n\r\n\r\n\r\n\r\n";
57 echo "-------------------------------------------------------------------------------\r\n";
58 echo "Executing tutorial workflow: ilPetriNetWorkflow3\r\n";
59 echo "-------------------------------------------------------------------------------\r\n";
60 require_once
'./Services/WorkflowEngine/classes/tutorial/class.ilPetriNetWorkflow3.php';
62 echo "\r\n\r\n\r\n\r\n\r\n";
66 echo "-------------------------------------------------------------------------------\r\n";
67 echo "Executing tutorial workflow: ilPetriNetWorkflow4\r\n";
68 echo "-------------------------------------------------------------------------------\r\n";
71 require_once
'./Services/WorkflowEngine/classes/tutorial/class.ilPetriNetWorkflow4.php';
78 require_once
'./Services/WorkflowEngine/classes/utils/class.ilWorkflowDbHelper.php';
86 require_once
'./Services/WorkflowEngine/classes/utils/class.ilWorkflowUtils.php';
87 #ilWorkflowUtils::handleTimePassedEvent(); 89 require_once
'./Services/WorkflowEngine/classes/class.ilWorkflowEngine.php';
109 echo "\r\n\r\n\r\n\r\n\r\n";
if((!isset($_SERVER['DOCUMENT_ROOT'])) OR(empty($_SERVER['DOCUMENT_ROOT']))) $_SERVER['DOCUMENT_ROOT']
ilWorkflowEngine is part of the petri net based workflow engine.
static setContext($a_context)
set context