BrainGrid Controller
Process Orchestrator
Loops
For Loop

For Loop

The For Loop repeats a set of nodes either over a numerical range or by iterating through an array from a previous node.

Create For Loop configuration dialog

Configuration

FieldDescription
TitleA name for this loop node
DescriptionOptional notes about the loop's purpose
Loop TypeRange Iteration to loop over a number range, or Data Iteration to loop over an array

Range Iteration

FieldDescription
Start ConditionThe starting number (static value, previous node output, or variable)
End ConditionThe ending number
OperatorWhen to stop: Less Than or Less Than or Equal To
Conditional IntervalThe step size between each iteration

Data Iteration

FieldDescription
Data SourceThe array to iterate over, typically from a Retrieve Record or External API node

Loop Canvas

Click Configure For Loop to open the nested canvas where you build the nodes that run on each iteration.

For Loop nested canvas configuration

Add nodes between the Start and End nodes. Click Save to apply.