Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Correct way to represent a while loop with one task in BPMN?

Tags:

bpmn

Which is the correct~er way in BPMN to represent a simple while loop that redirects to one task only?

enter image description here

like image 512
GTMeteor Avatar asked Mar 09 '17 08:03

GTMeteor


People also ask

How do you show a loop in a BPMN diagram?

A Loop activity is indicated in the diagram by a circular arrow at the bottom center.

What is a looping task?

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.

What is a multi-instance looping in a BPMN activity?

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.

What are the three types of activities within a process in BPMN?

BPMN activities are broken up by activity types (task, transaction, event sub-process, and call activities), task types, and activity markers.


2 Answers

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.

like image 53
Antoine Mottier Avatar answered Oct 19 '22 01:10

Antoine Mottier


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.

like image 2
Ed W Avatar answered Oct 19 '22 02:10

Ed W