Overview

The Loop Controller node is a process-flow control node that repeats the flow-graph loop that it is in and exits when either the configured loop count is reached or all loop-controlled data-sourcing nodes inside the loop report completion. This node provides two exits: Loop branch (continue) and Exit branch (terminate).

Node Information

Property Value
Category Flow control
Display Name Loop controller
Internal Name loopController

Parameters

Parameter Type Default Description
Max loop count number unlimited Maximum iterations; set a number to limit, or leave as “unlimited”

Input Ports

Port Type Accepts Required Description
Max loop count Number Number No Optional parameter input for the maximum iteration count

Output Ports

Port Type Description
Remaining loops Number Remaining iterations (diagnostic); may be 0 when exiting

Process Flow Exits

Exit Condition Description
Loop branch Continue Taken when the loop should continue
Exit branch Complete Taken when the loop should terminate

How It Works

Common Flows

With Loop over inputs

Loop controller ──(Loop branch)── Loop over inputs → Work → …
        │
        └────────────(Exit branch)──────────────→ After loop