WorkflowbeginnerWorkflows

If/Else Branching

Route execution through one of two branches based on a boolean condition. The canonical conditional pattern in Vibrante-Node exec-flow graphs.

4 nodesExec-Flow · Conditional · 4 connections

Graph Preview

if-condition-workflow.vnwView source

Execution Flow

1

Evaluate boolean condition

2

If/Else routes exec_out_true or exec_out_false

3

True branch runs if condition is met

4

False branch runs otherwise

Node Breakdown

ConditionLogic
If / ElseLogic
True BranchControl
False BranchControl

Tags

#conditional#if-else#branching#exec-flow#beginner

Source

workflows/If_condition.json

General workflow demonstrating core patterns

Related Examples

Browse all →
Workflow

ForEach Iteration Pattern

beginner

Canonical ForEach usage: pass a list into ForEach, process each item through a sub-chain, collect results with Collect node, and output the aggregated list.

7 nodesAsync DAG
#foreach#iteration#list
Workflow

While Loop with Break

intermediate

Run a loop until a condition is met or a max iteration count is reached. Demonstrates WhileLoop with BreakLoop and continue/stop exec pins.

4 nodesExec-Flow
#while#loop#break
Workflow

Conditional with Variables

intermediate

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.

6 nodesExec-Flow
#variables#conditional#state