Updated on 2025-05-08 GMT+08:00

Iterator

The iterator processor is used to process data cyclically. You can specify the number of iterations, conditions, or arrays.

Configuration Parameters

Parameter

Description

Criteria

Specify the iteration criteria.

  • Repeat
  • Do While
  • Foreach

Count

When Criteria is set to Repeat, configure the number of iterations. The default value is 3. A maximum of 100 iterations can be executed. Any access will trigger an error report.

Condition

When Criteria is set to Do While, configure the iteration conditions. When the conditions are met, a maximum of 100 iterations can be executed. Any access will trigger an error report.

Array

When Criteria is set to Foreach, configure the arrays to be iterated, which can be obtained from the preceding node. For details, see Referencing Variables.

A maximum of 100 elements can be included in an array. Any access will trigger an error report.

Output variables

Parameter

Description

payload

Data that is traversed.

Loop size

Loop count.

Loop index

Index of the current loop, starting from 0.

Start time

Start time of node execution.

End time

End time of node execution.

Execution time

Node execution duration, in milliseconds.