Bpmn - How to model an optional task

Guillaume Morin picture Guillaume Morin · May 2, 2017 · Viewed 7.6k times · Source

enter image description here

After the Task 1 is completed, we need to spawn an optional task, based on a condition. The process completion does not depend on this optional task completion.

What is the correct way to design this model ?

Answer

Patrick Werner picture Patrick Werner · Jun 2, 2017

the desired behaviour can be modeled like this:

BPMN Diagram

After Task1 completes Task2 is triggered, if the optional Condition is true, the optional Task is triggered as well. The Instance is terminated after Task2 is finished. If the optional Task was still active it will be terminated.