Cancel instance pattern
The following pattern table explains the features of the cancel instance pattern:
Signature |
Cancel Instance Pattern |
Classification |
Cancellation Pattern |
Intent |
Canceling the BPM process instance. |
Motivation |
There are business requirements to cancel the already running process instances. BPMN processes should be developed with the flexibility to provide process consumers with the option to cancel the running instances. |
Applicability |
The cancellation of a process instance should be correlated. A request to cancel instances cannot just cancel any process instance. A cancellation request must be correlated with the correct instance to be cancelled. It's the correlation which makes sure that the cancellation process results in the cancellation of the correct instance of a process that it is meant for and does not affect any other instances. |
Implementation |
The cancel instance pattern can be implemented using event subprocess, event gateways, and correlation... |