Cancel End Event
A Cancel End Event terminates a transaction sub-process and triggers its cancellation. It causes the transaction to roll back by executing compensation handlers.
What is a Cancel End Event?
A Cancel End Event is used exclusively within transaction sub-processes to cancel the transaction. Reaching this event triggers the transaction cancellation boundary event and executes compensation for completed activities.
Visual Representation
The event shows a thick-bordered circle containing an X mark. This X represents cancellation of the transaction.
Key Characteristics
- Transaction scope only: Can only be used inside transaction sub-processes
- Triggers cancellation: Activates the Cancel Boundary Event on the transaction
- Compensation execution: Completed activities within the transaction are compensated
- Controlled rollback: Provides explicit cancellation path in transaction flows
Common mistake
Using a Cancel End Event outside a Transaction. Cancel End Events can only appear inside Transaction sub-processes — they have no meaning in regular sub-processes or processes.
How it connects
Common Use Cases
Explicit Cancellation
User explicitly cancels a multi-step booking transaction, rolling back all reservations.
Validation Failure Rollback
Final validation fails in transaction, triggering cancel to roll back all committed steps.
Timeout Cancellation
Transaction exceeds allowed time, cancelled to release held resources.
Frequently Asked Questions
Related BPMN Elements
Model this in Crismo
Create BPMN diagrams with AI assistance. Free, no signup needed.