End Cancel Event Activity
Overview
The End Cancel Event activity triggers the immediate cancellation of an ongoing transaction. This activity is crucial for managing process flow by providing a mechanism to gracefully terminate operations when specific conditions are met.
| Field | Description | Requirement |
|---|---|---|
| Execution listeners | Listeners for an activity, a process, a sequence flow, start and end event. | Optional |
| cancellationReason | Specifies the reason for the cancellation. | Optional |
| notifyAdmin | Determines whether an administrator should be notified of the cancellation. | Optional |
Action Types & Examples
Cancellation Initiation Status
- Format:
boolean - Example Result:
true
Implementation Examples
Field Setup - Execution listeners: cancelNotificationListener
Execution Parameters - cancellationReason: "User initiated cancel" - notifyAdmin: true
Technical Notes
The End Cancel Event activity halts the current transaction and transitions the process to a cancelled state. Any configured
Execution listenersare invoked to handle post-cancellation logic, such as logging or cleanup, ensuring a controlled termination of the process flow. This activity does not produce a direct output value but rather triggers a state change within the workflow.