Cancel activity pattern
The following pattern table explains the features of the cancel activity pattern:
Signature |
Cancel Activity Pattern |
Classification |
Cancellation Pattern |
Intent |
To cancel process activities. |
Motivation |
Based on the process status or business logic, there are requirements to cancel certain activities of the process. |
Applicability |
The cancel activity pattern is a useful cancelation pattern as it will allow you to initiate the cancellation of activities based on business requirements. An activity can only be cancelled when it's active; hence, when we initiate the cancellation for an activity, make sure that the activity is running in the instance. |
Implementation |
We can use event subprocesses and boundary catch events. The following section includes a implementation sample for this pattern. |
Known issues |
Makes it certain that the request to cancel an activity must result in the cancellation of the activity in the process instance for which it is... |