-
Notifications
You must be signed in to change notification settings - Fork 638
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Triggered event subprocess not activated after terminating boundary event #8726
Comments
What is your expected behavior? Shall the event-sub-process still be activatable despite the sub-process being canceled? |
@nikku Oops, I forgot to add it to the issue. I've added it now:
|
@remcowesterhoud Thanks! Whether the event sub-process signals depends on if it is the same message arriving. From the BPMN standard perspective (as I understood it):
In a picture (cf. error event-sub-process): REF. |
Impact seems low, the instance can be cancelled, and the desired behavior was to already interrupt the process. There is an additional developer-only impact for us, which is some tests may end up being marked as flaky. Since it seems very rare, we can postpone this for a little bit, but the next time it does, let's fix this bug and avoid spending more time investigating what seems to be flaky tests. |
Marking priority as Please comment if you think this should have a higher priority. |
I'm increasing the priority of this issue because it can lead to failing builds (e.g. #10445). And, as a result of the bug, the process instance is stuck. Even with modification, it is not clear what the process instance can be "repaired" (because the process instance is in the state We should work on the issue as soon as possible. During the bug fix, we should ensure that the randomize tests with the given seeds of #10445 don't fail anymore. |
@remcowesterhoud Please verify whether your recent changes resolved this issue |
#11216 should fix this issue. I will add this as one of the issues that is closed by this. |
Describe the bug
Assume the following process:

If
task1
is being processed and we send a message, triggering the boundary event, the subprocess will be terminated. If we send a message immediately after the first message, triggering the interrupting event subprocess, while the subprocess is being terminated this will result in the event sub process not getting activated. This means the process instance will be stuck.Note: This also happens when the boundary event is attached to a task without a subprocess. However, since there is less processing to be done when the boundary event gets triggered it is way less likely to happen.
To Reproduce
Unit test to reproduce
Expected behavior
I would expect the boundary event to get terminated (along with task1 and the subprocess) once the event subprocess gets triggered. The event sub process should then complete as expected.
Log/Stacktrace
Full Stacktrace
Environment:
Causes #6957
The text was updated successfully, but these errors were encountered: