# Recover gracefully when a conditional branch fails

> Conditional branches often wrap fragile work like external calls or tool execution, and until now a failure inside one would propagate unhandled and halt the run.

- Published: 2026-05-06
- Author: Agno Team
- Category: Changelog
- Canonical: https://agno-com-nine.vercel.app/articles/recover-gracefully-when-a-conditional-branch-fails
- Markdown: https://agno-com-nine.vercel.app/articles/recover-gracefully-when-a-conditional-branch-fails.md

Conditional branches often wrap fragile work like external calls or tool execution, and until now a failure inside one would propagate unhandled and halt the run. The `Condition` workflow step now takes an `on_error` parameter that gives you explicit control over what happens when a sub-step fails, so a workflow can recover or continue instead of failing outright.
