Skip to content
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

[Backport stable/8.1] Remove interrupted state on event subprocess activation #10653

Merged
merged 4 commits into from
Oct 10, 2022

Conversation

backport-action
Copy link
Collaborator

Description

Backport of #10609 to stable/8.1.

relates to #10477

This event applier will be responsible for identifying if any element instances have been activated withing an interrupted flow scope. If this is the case the interrupted state needs to be cleared from this scope.

(cherry picked from commit 2371cb5)
When an interrupting event sub process gets triggered it will terminate all active element in its flow scope and mark the flow scope as interrupted. With process instance modification it should be possible to re-activate element within the interrupted scope. Because of the interrupted state any activate commands get rejected, making this currently impossible.

With this change we will check if any of the activated elements is currently in an interrupted state. If this is the case we will remove this state, allowing elements within to be activated through a modification.

(cherry picked from commit d2df216)
Copy link
Contributor

@remcowesterhoud remcowesterhoud left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bors merge

@github-actions
Copy link
Contributor

Test Results

   934 files  ±    0     934 suites  ±0   1h 48m 0s ⏱️ - 3m 58s
7 483 tests +329  7 475 ✔️ +329  8 💤 ±0  0 ±0 
7 671 runs  +329  7 663 ✔️ +329  8 💤 ±0  0 ±0 

Results for commit 5092849. ± Comparison against base commit aa574c4.

@zeebe-bors-camunda
Copy link
Contributor

Build succeeded:

@zeebe-bors-camunda zeebe-bors-camunda bot merged commit bdfd16b into stable/8.1 Oct 10, 2022
@zeebe-bors-camunda zeebe-bors-camunda bot deleted the backport-10609-to-stable/8.1 branch October 10, 2022 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants