Modify Process Instance Execution State
POST/process-instance/:id/modification
Submits a list of modification instructions to change a process instance's execution state. A modification instruction is one of the following:
- Starting execution before an activity
- Starting execution after an activity on its single outgoing sequence flow
- Starting execution on a specific sequence flow
- Canceling an activity instance, transition instance, or all instances (activity or transition) for an activity
Instructions are executed immediately and in the order they are provided in this request's body. Variables can be provided with every starting instruction.
The exact semantics of modification can be read about in the User guide.
Request
Responses
- 204
- 400
- 500
Request successful.
At least one modification instruction misses required parameters.
The modification cannot be performed, for example because it starts a failing activity.