Working with multiple task instances
There are two types of multiple instances: sequential and parallel. The difference between the two lies in the order of execution.
If a task is sequential, then only one activity can be executed at a time. For a sequential user task, this means, for example, that the first person who has received a task must complete it before the next person gets their task.
If a task is parallel, then zero to all the activities can be performed at the same time.
To work with sequential or parallel task instances, select one of the two options in the "Activity Properties". Define a "Collection" and name an "Elementvariable" in the "Workflow Properties".
Possible combinations
The following table provides an overview of possible scenarios or combinations of this feature with regard to their form data usage:
type of multiple instances |
|||
parallel |
sequential |
||
type of task |
script task |
use |
|
user task |
|
||
subprocess task |
advanced mode; more details can be found here |
Examples and further information can be found at: Multiple script task instances, Multiple user task instances and Multiple subprocess task instances