Control Flow - Foreach#
The Foreach task allows the user to iterate on a list. The foreach will traverse each element of the array and in the iteration provide the value as a usable item.
Info
Only available for Control Flow.
Inputs#
| Name | Data Type | IsTrigger | Description |
|---|---|---|---|
<custom list> | <custom> | No | Inputs of the task |
Outputs#
| Name | Data Type | Description |
|---|---|---|
<custom list> | <custom> | Outputs of the function |
| Success | Boolean | If there was no problem emits a true |
| Error | Error | Error that occurred during the processing of this task |
Settings#
On the General Tab, you have the usual settings and the following settings:
| Name | Data Type | Default | Description |
|---|---|---|---|
| Item Name | String | The name of the iterator variable. This value will hold inside the iteration the value of the array for that iteration. | |
| List | String | The start index may be an index or an expression that in runtime will resolve to a number |
Behavior#
The user will define a set of control flow logic that will be iterated according to the definition of the Foreach task. The iterator value will be available to use inside the looped branch.
Remarks#
There is no particular remark to be made.
