-
Notifications
You must be signed in to change notification settings - Fork 556
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
10779: Fix activation of Parallel Gateway through Process Instance Modification r=remcowesterhoud a=remcowesterhoud ## Description <!-- Please explain the changes you made here. --> Activating a Parallel Gateway was not possible due to a failing check if the correct amount of active sequence have been taken. This PR will increment the amount of taken sequence upon when the activate instructions contain a parallel gateway. This is done in the `ProcessInstance.MODIFIED` event applier. One edge case that is not supported with this change is the following scenario: <img width="684" alt="image" src="https://user-images.githubusercontent.com/5787702/196986426-bdff96b0-e47f-4063-956e-c007e1aa2a13.png"> If I want to modify this process by putting an activation on task A and on the joining gateway, the gateway will be activated immediately. Task A will be executed and will start waiting at the gateway again, meaning the process will be stuck). The gateway will not wait for task A before continuing. I could not think of a simple solution to solve this problem. ## Related issues <!-- Which issues are closed by this PR or are related --> closes #10518 Co-authored-by: Remco Westerhoud <remco@westerhoud.nl>
- Loading branch information
Showing
10 changed files
with
200 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.