Which is the correct~er way in BPMN to represent a simple while loop that redirects to one task only?
A Loop activity is indicated in the diagram by a circular arrow at the bottom center.
Loop task – a task that repeats sequentially. Multiple instance task – a task that repeats, but multiple “copies” of the task can be happening in parallel.
A Multi-instance (MI) activity is like a For-Each loop in programming. It means perform the activity once – again, either a task or subprocess – for each item in a list, a process data element that contains multiple items.
BPMN activities are broken up by activity types (task, transaction, event sub-process, and call activities), task types, and activity markers.
I would say that using the loop activity is the better option as it helps keep the process model tidy.
Also be careful when creating loop in a process as usually task definition change between the first iteration and the second. e.g. first iteration is creation of a file, second will actually be an edition of the file: two different actions (create and edit) should not be in a single task definition.
Normally, the BPMN represents activities marching through time in a linear fashion similar to a Value Stream Map. To create a backward loop would disrupt the timeline.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With