Search code examples
bpmncamunda

Bpmn - How to model an optional task


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 ?


Solution

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