-
Feature Request
-
Resolution: Fixed
-
L3 - Default
-
None
-
None
Context
- On the process instance page
- In the process instance modification view
- When I move tokens on the diagram, so that it creates modification instructions
Current behavior:
- For every token,
- a cancel instruction is generated by activity instance id
- a start before instruction is generated
Improved behavior:
- For every token,
- a cancel instruction is generated by activity instance id
- a start before instruction is generated with the closest commen ancestor of the starting activity with the cancelling activity instance
Example:
- Consider the attached BPMN model
- Assume activity Inner is active with the following activity instances:
ProcInst : 1 Outer SubProcess: 2 Inner SubProcess: 3 Inner: 4
If I move the token from Inner to Outer, then the following instructions should be generated:
- Start before Inner with ancestor Outer SubProcess: 2
- Cancel Inner: 4
Outer SubProcess: 2 is the activity instance that is the closes ancestor of Inner: 4 and that runs the closest ancestor activity of Outer.
If we move multiple tokens, this logic should be applied to each one individually.