21 die(
"Usage: workflow.php username password client\r\n");
24 chdir(dirname(__FILE__));
27 include_once
'./Services/Authentication/classes/class.ilAuthFactory.php';
35 include_once
'./include/inc.header.php';
38 echo "-------------------------------------------------------------------------------\r\n";
39 echo "Executing tutorial workflow: ilPetriNetWorkflow1\r\n";
40 echo "-------------------------------------------------------------------------------\r\n";
41 require_once
'./Services/WorkflowEngine/classes/tutorial/class.ilPetriNetWorkflow1.php';
43 echo "\r\n\r\n\r\n\r\n\r\n";
47 echo "-------------------------------------------------------------------------------\r\n";
48 echo "Executing tutorial workflow: ilPetriNetWorkflow2\r\n";
49 echo "-------------------------------------------------------------------------------\r\n";
50 require_once
'./Services/WorkflowEngine/classes/tutorial/class.ilPetriNetWorkflow2.php';
52 echo "\r\n\r\n\r\n\r\n\r\n";
56 echo "-------------------------------------------------------------------------------\r\n";
57 echo "Executing tutorial workflow: ilPetriNetWorkflow3\r\n";
58 echo "-------------------------------------------------------------------------------\r\n";
59 require_once
'./Services/WorkflowEngine/classes/tutorial/class.ilPetriNetWorkflow3.php';
61 echo "\r\n\r\n\r\n\r\n\r\n";
65 echo "-------------------------------------------------------------------------------\r\n";
66 echo "Executing tutorial workflow: ilPetriNetWorkflow4\r\n";
67 echo "-------------------------------------------------------------------------------\r\n";
70 require_once
'./Services/WorkflowEngine/classes/tutorial/class.ilPetriNetWorkflow4.php';
77 require_once
'./Services/WorkflowEngine/classes/utils/class.ilWorkflowDbHelper.php';
85 require_once
'./Services/WorkflowEngine/classes/utils/class.ilWorkflowUtils.php';
86 #ilWorkflowUtils::handleTimePassedEvent(); 88 require_once
'./Services/WorkflowEngine/classes/class.ilWorkflowEngine.php';
108 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