Compensation Intermediate Throw Event
A Compensation Intermediate Throw Event triggers compensation handlers for previously completed activities. It initiates undo logic without ending the process, enabling partial rollback scenarios.
What is a Compensation Intermediate Throw Event?
A Compensation Intermediate Throw Event triggers compensation for completed activities without terminating the process. It can target specific activities or trigger all compensation handlers in reverse completion order.
Visual Representation
The event shows a double-line circle containing a filled rewind icon (two left-pointing triangles). The filled symbol indicates throwing/triggering direction.
Key Characteristics
- Targeted or global: Can compensate specific activities or all completed activities
- Non-terminating: Process continues after compensation completes
- Reverse order: Multiple compensations execute in reverse completion order
- Saga pattern enabler: Supports distributed transaction rollback scenarios
Common Use Cases
Partial Rollback
When an optional step fails, compensate just that step activities without rolling back the entire process.
Retry with Cleanup
Before retrying a failed operation, compensate previous attempts to ensure clean state.
Change of Mind
Customer cancels part of an order-compensate only the cancelled items inventory reservations.
Frequently Asked Questions
Related BPMN Elements
Try this element in Crismo
Create beautiful BPMN diagrams with our modern process modeling platform.