{% branch %}
Attributes
| Parameter | Type | Required | Description |
|---|---|---|---|
condition | string | ✓ | Human-readable condition being evaluated (e.g., 'url-unique-for-user') |
Valid Children
| Tag | Multiplicity |
|---|---|
{% path %} | [+] |
Valid Parent Contexts
This tag is valid inside: {% step %}, {% flow %}
Rules
| Rule | Force | Realm | Reference | Description |
|---|---|---|---|---|
branch-requires-paths | | | — | Must contain one or more children. |
A decision point in a flow.
Branch with success and error paths
{% branch condition="url-unique-for-user" %} {% path outcome="success" emit="bookmark-added" %} Bookmark created. {% /path %} {% path outcome="duplicate-url" throws="duplicate-url" %} Duplicate detected. {% /path %}{% /branch %}