Setting How Activities are Executed
Define a task, subprocess or call activity as a loop or multiple instance.
Context
Definition as loop or multiple instance is possible for
- Tasks
- Subprocesses
- Call activities
The type of execution determines which conditions or counters can be set:
- A loop condition and loop maximum can be set for a loop. The loop is run as long as the loop condition is fulfilled and the loop maximum is not exceeded. The loop condition can be checked either before or after an iteration.
- A loop cardinality and cancelation condition can be set for a multiple instance. The loop is run through as many times as given in the loop cardinality but is stopped once the cancelation condition is fulfilled. The individual instances can be carried out sequentially (one after another) or in parallel (at the same time).
In accordance with BPMN, execution frequency of a multiple instance can also be set by an assigned multiple data object. If this is the case you do not need to enter a loop cardinality or cancelation condition.
How to proceed
-
Click with the right mouse on the task, subprocess or call activity.
Depending on which element you clicked on, the respective mini toolbar appears:
-
Select the icon for the desired execution type.
The corresponding icon is shown in the flow node.
You can also define the execution type using the Loop Properties Type property.
Select the
icon in the mini toolbar to reset selection.
-
Set the further Loop Condition and Loop Maximum or Loop Cardinality and Completion Condition properties in the "Properties" window.
-
Jump between parallel and sequential multiple instances by activating or deactivating the Sequential Execution check box.
The respective icon is shown in the flow node.