21 die(
"Usage: workflow.php username password client\r\n");
24chdir(dirname(__FILE__));
27include_once
'./Services/Authentication/classes/class.ilAuthFactory.php';
35include_once
'./include/inc.header.php';
38echo
"-------------------------------------------------------------------------------\r\n";
39echo
"Executing tutorial workflow: ilPetriNetWorkflow1\r\n";
40echo
"-------------------------------------------------------------------------------\r\n";
41require_once
'./Services/WorkflowEngine/classes/tutorial/class.ilPetriNetWorkflow1.php';
43echo
"\r\n\r\n\r\n\r\n\r\n";
47echo
"-------------------------------------------------------------------------------\r\n";
48echo
"Executing tutorial workflow: ilPetriNetWorkflow2\r\n";
49echo
"-------------------------------------------------------------------------------\r\n";
50require_once
'./Services/WorkflowEngine/classes/tutorial/class.ilPetriNetWorkflow2.php';
52echo
"\r\n\r\n\r\n\r\n\r\n";
56echo
"-------------------------------------------------------------------------------\r\n";
57echo
"Executing tutorial workflow: ilPetriNetWorkflow3\r\n";
58echo
"-------------------------------------------------------------------------------\r\n";
59require_once
'./Services/WorkflowEngine/classes/tutorial/class.ilPetriNetWorkflow3.php';
61echo
"\r\n\r\n\r\n\r\n\r\n";
65echo
"-------------------------------------------------------------------------------\r\n";
66echo
"Executing tutorial workflow: ilPetriNetWorkflow4\r\n";
67echo
"-------------------------------------------------------------------------------\r\n";
70require_once
'./Services/WorkflowEngine/classes/tutorial/class.ilPetriNetWorkflow4.php';
77require_once
'./Services/WorkflowEngine/classes/utils/class.ilWorkflowDbHelper.php';
85require_once
'./Services/WorkflowEngine/classes/utils/class.ilWorkflowUtils.php';
86#ilWorkflowUtils::handleTimePassedEvent();
88require_once
'./Services/WorkflowEngine/classes/class.ilWorkflowEngine.php';
108echo
"\r\n\r\n\r\n\r\n\r\n";
An exception for terminatinating execution or to throw for unit testing.
static setContext($a_context)
set context
ilWorkflowEngine is part of the petri net based workflow engine.
if((!isset($_SERVER['DOCUMENT_ROOT'])) OR(empty($_SERVER['DOCUMENT_ROOT']))) $_SERVER['DOCUMENT_ROOT']