Add a recovery task
The boundary event catches the error — but then what? We need a task to handle the failure.
What to do
- Drag a new task from the palette onto the canvas, below "Charge credit card"
- Name it "Notify customer of failure"
- Connect the boundary event to this new task (drag an arrow from the boundary event circle to the task)
This task would, in production, send the customer an email explaining the payment failed and asking them to update their card.
> 💡 After a failure task, you'd typically connect to an end event — the process terminates on this path. You can add an end event after the recovery task to complete the error path.
Interactive BPMN Editor