-
Bug Report
-
Resolution: Fixed
-
L3 - Default
-
None
-
None
Problem:
Whenever a sentry is satisfied that is used as an exit criterion of a task, it may occur that the containing stage completes as well. In this case, the stage's variables are removed. In some cases however, we perform another check after that whether some sentries contained in that stage are satisfied. In this case, ifPart expressions may not resolve since the stage's local variables are already gone.
Solution hint:
Should be fixed in CmmnExecution#handleChildTransition and should not perform the second sentry check if the stage is already completed.
Test case:
https://github.com/camunda/camunda-bpm-platform/commit/9bb636e26da02129ea0fcfdb2ad1a5d5efe2d817