foreach on object

This block is part of the foreach group and was last modified in core v10.4.28.

foreach on object v10.4.28

In pins 2 + flow
  • flow
    flow
  • object required
    object
  • Concurrency
    number

    How many iterate functions should be ran at the same time • Min: 0 • Max: 1000

    Default 5

Out pins 1 + flow
  • done
    flow
  • Iterator
    execute_function

Runs the iterator once per key of the object with key and value pins, waiting for all iterations before done. A nil, non-object, or empty object runs zero iterations. Iteration order follows Go map order : stable within one run but NOT sorted or guaranteed across runs. Concurrency defaults to 5 (max 1000); exposed_data_output collects truthy exposed returns.

A typical wiring for foreach on object: a function trigger starts the flow; the function out pin wires to an execute block.

Studio canvas example for the foreach on object block: typical wiring for foreach on object.

Version history

Introduced in v10.4.28.


Back to foreach Return to the main group to view all sub-groups Back to flow: loops Return to the group to view all blocks within this group