Iteration loop Node
Overview
The Iteration Loop Node enables repetitive execution of a sequence of nodes over a collection of items. It creates an isolated execution context for each iteration, making it ideal for processing arrays of data, batch operations, or repetitive tasks.
Usage cost: 0 credit
Configuration
Settings
Iteration Control
Iterator*: Select array variable to iterate over
Maximum Iterations: Limit the number of iterations (0-10,000)
Output Collection: Select child node output to collect results
Context Variables Available in child nodes during iteration:
current_item
: Current item being processedindex
: Current iteration index (number)
Output Ports
output
(Any[]): Array of collected outputs from iterationsWhen Output Collection is specified
Maintains order of iterations
Preserves original data types
Best Practices
Iterator Selection
Verify array data structure
Consider data volume
Performance Management
Set appropriate iteration limits
Consider batch processing
Optimize child node operations
Output Collection
Choose relevant outputs
Plan data aggregation
Consider memory usage
Common Issues
Memory overflow from large collections
Iteration limit exceeded
Missing iterator variable
Last updated