Discovered a strange feature of the CMMN diagram.
The diagram operation depends on the order of adding items to it,
The order of adding a Milestone item is very important.
My actions (order of adding elements to the CMMN diagram)
- add item Stage1
- add item Milistone0
- add item Milestone1
- add item Task1
The source code of the chart is.
This chart does not work. The condition is Stage1 and Task1 isDBRequired = true. The variable isDBRequired is true initial before executing CMMN diagram
For the diagram to work, you need to correct the source code of the CMMN diagram, move the milestone item to the end.
The milestone element should always be placed at the end.
Edited version of the chart works.