Compensation End Event
A Compensation End Event terminates a process path while triggering compensation for all completed activities. It initiates full rollback of the process instance.
What is a Compensation End Event?
A Compensation End Event ends a sequence flow path and triggers compensation for all successfully completed activities. Compensation handlers execute in reverse completion order to undo side effects.
Visual Representation
The event shows a thick-bordered circle containing a filled rewind icon (two left-pointing triangles). This represents the backward/undo nature of compensation.
Key Characteristics
- Full rollback: Compensates all completed activities in reverse order
- Saga completion: Implements the compensation phase of saga transactions
- Handler execution: Each compensatable activity's handler runs
- Ordered execution: Compensation occurs in reverse completion order
Common Use Cases
Booking Cancellation
End the booking process and compensate all reservations (flight, hotel, car) due to payment failure.
Order Rollback
Trigger compensation to reverse inventory, payment, and notification activities when order is cancelled.
Transaction Abort
End a complex transaction and undo all committed steps when final validation fails.
Frequently Asked Questions
Related BPMN Elements
Try this element in Crismo
Create beautiful BPMN diagrams with our modern process modeling platform.