Interrupting event subprocess is activated more than once #9185
Labels
area/reliability
Marks an issue as related to improving the reliability of our software (i.e. it behaves as expected)
kind/bug
Categorizes an issue or PR as a bug
scope/broker
Marks an issue or PR to appear in the broker section of the changelog
severity/high
Marks a bug as having a noticeable impact on the user with no known workaround
version:1.3.9
version:8.1.0-alpha2
version:8.1.0
Marks an issue as being completely or in parts released in 8.1.0
Describe the bug
I deployed a BPMN process with an embedded subprocess. The subprocess contains a non-interrupting and an interrupting event subprocess. The non-interrupting event subprocess is triggered and still active.
Now, the interrupting event subprocess is triggered once and gets activated. But it is activated more than once!
This can lead to expected behavior because the tasks may be processed multiple times.
It seems that the number of created instances of the interrupting event subprocess depends on the number of active instances of the non-interrupting event subprocess. If no instance is active (anymore) then it creates only once of the interrupting event subprocess.
The same behavior is observed if the embedded subprocess has more than one active element instance (e.g. a parallel gateway with two active tasks).
To Reproduce
Expected behavior
The interrupting event subprocess is activated only once.
The BPMN spec says that interrupting event subprocesses can be activated only once because it interrupts the event scope of the event subprocess.
Log/Stacktrace
None.
Environment:
8.0.0
The text was updated successfully, but these errors were encountered: