Skip to content

For Each (Batch) Node

Control

Loops over an Array in batches, running the body once per slice of up to Batch Size elements

control_for_each_batchstd
Inputs3
Outputs5
Security exposure10/10
Packagestd

Ratings

Scores range from 0 to 10. Higher values mean more impact, exposure, or operational weight.

SecurityAttack surface and exposure impact.
10/10High
PrivacyPotential sensitivity of processed data.
10/10High
PerformanceRuntime or resource pressure.
8/10High
GovernancePolicy, audit, or compliance impact.
10/10High
ReliabilityOperational stability considerations.
9/10High
CostExternal or compute cost impact.
10/10High

Input Pins

3

Input

Execution
exec_in

Trigger Pin

Array

Generic Array
array

Array to Loop

Generic type enforced

Batch Size

Integer
batch_size

Maximum number of elements per batch. Values below 1 are clamped to 1.

Default 10

Output Pins

5

For Each Batch

Execution
exec_out

Executes once for the current batch

Batch

Generic Array
batch

The current slice, holding up to Batch Size elements

Batch Index

Integer
index

Zero based index of the current batch

Start Index

Integer
start_index

Index of the first element of this batch inside the source array

Done

Execution
done

Executes once the array is dealt with.

Node Info

Internal name
control_for_each_batch
Category
Control