-
Notifications
You must be signed in to change notification settings - Fork 0
Flows
Mike edited this page Aug 13, 2020
·
1 revision
Define a FlowSimulationActor using the companion object by providing a flow which describes the order and method with which a sequence of tasks is executed.
A flow consists of tasks and opperators inspired by BPMN gateways. The currently supported opperators are:
-
NoTaskfor a 'blank' task which does nothing -
Thenfor sequence -
Andfor parallel -
Allfor multiple parallel tasks -
Orfor inclusive or; run both tasks and continue once either one completes
You may also combine tasks with infix operators:
-
+to "And" two tasks -
>to "Then" two tasks -
|to "Or" two tasks together
e.g.: (task1 + task2) > (task3 | task4) == Then( And(task1,task2), Or(task3,task4) )