First of all, is that even valid to have an exclusive gateway going out and backward of a parallel path like illustrated ?
If yes, I have some questions on how a business process engine is supposed to handle this.
Scenario steps:
- Task 2 and Task 3 are active.
- Task 3 is completed, and the gateway condition make it go back to Task 1.
- Task 1 is completed (a second time)
Questions:
- At step 2, what is the state of Task 2 ? Is it aborted or it remains active ?
- At step 2, is it creating a new instance of Task 1 or it re-opens the existing one ?
- At step 3 (similar to previous question), does it spawn new tasks 2 and 3 or re-open existing one ? If it spawns new ones, do we now have 2 actives Task2 at the same time ? How is the 'merging' gateway supposed to handle this ?