中文
Node Documentation

For each

FlowTarget independentflow.for-each

Run an isolated activation once per typed list item, up to 10,000 items, and expose the current Index and Item.

Example use

Feed in filenames and read each file in the loop body using the current item and index.

Node preview

Right-drag to pan and scroll to zoom. Expand inputs and edit parameters to see how ports change. This preview does not run the node; reopening the page restores the example.

Loading node preview…

Data inputs 1

Itemsitemslist<$T>

The typed list to process item by item.

RequiredDefault: None

Data outputs 2

IndexindexInteger

A zero-based element index; the first item is 0.

  • Minimum: -9007199254740991
  • Maximum: 9007199254740991
Value format examples
0
42
ItemitemMatching type inferred from connections

One list item, matching the list’s element type.

Control and error ports

InputinInput · Control
An incoming control signal enters this operation.
BreakbreakInput · Control
An incoming control signal enters this operation.
ContinuecontinueInput · Control
An incoming control signal enters this operation.
Response bodybodyOutput · Control
Continue from this result or stage; see the node description for branch conditions.
CompletedcompletedOutput · Control
Continue from this result or stage; see the node description for branch conditions.
Version and node identity

Version 1.0.0

sha256:4bfa128290d236e1225cdab183f7ef7307ca691fcd87354c6e4382fb3419dfc5