For Each

Executes the activity contained in its Body for each item in a specified Values collection. When adding a ForEach activity to the designer, we must set the type of the item for the Values Collection.

Select
note

Most of the properties on this activity can be set using an expression. That is why when we set a string value, we must put that string value under "".

ForEach Designer

Designer Properties#

  1. Item The item of the specified Values collection.
  2. Values The activity's collection of inputs for the execution of the Body activity action.
  3. Body The ActivityAction to be executed for each item in the Values collection.

Properties#

ForEach Properties

General Properties#

See General Properties.

Misc#

See Misc.

Out Error#

See Out Error.

Example#

Display range Values to output

In this example, we use for each to display the values from 1 to 5 in the output panel.