Complete the error path
Connect the recovery task to an end event to complete the error handling path.
What to do
- Add a new end event after "Notify customer of failure"
- Connect your recovery task to it
- Optionally rename it "Payment failed" to distinguish it from "Payment complete"
- Happy path: Charge card → Send receipt → Payment complete
- Error path: (error) → Notify customer → Payment failed
- ✓ Boundary events intercept failures during task execution
- ✓ The error path is a first-class part of the process model
- ✓ Multiple end events represent different process outcomes
- ✓ Process models that handle errors are more trustworthy and maintainable
Your completed process
You now have two paths:
What you've learned
Interactive BPMN Editor