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".

NewItem1000

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 Token.Attributes["<Elementvariable>"]

user task

  • the parallel user task uses an advanced mode to provide the form data

  • to use the data in other/ following forms, you have to convert it from advanced mode to standard mode

subprocess task

advanced mode; more details can be found here