-
Bug Report
-
Resolution: Fixed
-
L3 - Default
-
None
Assume the following process:
The following works:
- Instantiate the process
- Perform the following modification:
- cancel the task instance
- start before task
The following does not work
- Instantiate the process
- Perform the following modification:
- cancel the task instance
- start after task
- start before task
The reason is that starting after the task already ends the process instance and removes it from the database. The third instruction results in database integrity violations.
This problem might become more evident when using CAM-3454 with a completely synchronous process model.
Solution Options:
- either consider this part of the feature; then, there should be a proper exception telling the user that the process instance has intermediately finished
- the process instance should not be removed when the process ends with more pending modification instructions
Test case that asserts solution 2 (this does not mean solution 2 is favored): https://github.com/camunda/camunda-bpm-platform/commit/a8decdefce0557a80eb3260b2fe3009a556b5dd3
This is the controller panel for Smart Panels app
- is related to
-
CAM-3453 Using the Java API I can modify a Process Instance's Execution State
- Closed