For Each
It can iterate through data tree arrays and return each element.

Example
Assume we have this data in the data tree of a workflow.

A data source - Object children list can provide this kind of project data.

The 'Success' output will now iterate through each element and return them one by one.

Please note: this screen recording uses a sleep per step of 0.4 seconds. Normally, it would iterate through all elements in just a few microseconds.
This data item (in this example, an object path) can be used to access objects and set a parameter for each one.
Example project
Please find the project within Grid Studio under the template projects.
The example project uses a list/dropdown variable as a reference.
A workflow inside this reference variable iterates through all variables within the 'Folder'.
Each variable in the folder is then set to the same dropdown state as the reference variable.

Last updated