Conditional with Variables
Use SetVariable and GetVariable to share state between branches in an If/Else workflow — a realistic pattern for pipeline decision logic that needs cross-branch data.
Graph Preview
Execution Flow
Set shared variable before branching
If/Else routes execution to true or false path
Each branch reads the shared variable
Both paths converge at merge step
Node Breakdown
Tags
Source
workflows/logic_if_with_variables.json
General workflow demonstrating core patterns
Related Examples
Browse all →ForEach Iteration Pattern
beginnerCanonical ForEach usage: pass a list into ForEach, process each item through a sub-chain, collect results with Collect node, and output the aggregated list.
If/Else Branching
beginnerRoute execution through one of two branches based on a boolean condition. The canonical conditional pattern in Vibrante-Node exec-flow graphs.
While Loop with Break
intermediateRun a loop until a condition is met or a max iteration count is reached. Demonstrates WhileLoop with BreakLoop and continue/stop exec pins.