Dynamic Plan
<Branch> chooses between execution paths at runtime. Here, an analyzer classifies task complexity and routes to either a quick fix or a multi-step plan.
Workflow Definition
Running
How Branch Works
ifis evaluated each time the workflow re-renders. Only the matching branch (thenorelse) is mounted.- The Branch is inside a
Sequence, so it is not reached untilanalyzefinishes andanalysisis populated.<Sequence>runs children in order and waits for each to complete before starting the next, so the<Branch>only evaluates afteranalyzehas persisted its output. - Resumable: completed task outputs are persisted, so re-running picks up where it left off.