Loop through each item in a JSON array. Use “Continue loop” Wrk Action to indicate that the Wrkflow should retrieve the next item in the loop.
Application
Loop
Inputs (what you have)
Name | Description | Data Type | Required? | Example |
JSON Array | JSON Array that you wish to loop through the items | Text (Long) | Yes | [{“foo”:”bar”}, 2] |
Continue loop ID | Provided by the “Continue loop” Wrk Action | Text (Short) | Yes | All |
Maximum number of items | Defaults to all items | Number | No | 10 |
Start at last item? | Start at the last item in the JSON array and loop backwards through the array | True/False | No |
Outputs (what you get)
Name | Description | Data Type | Required? | Example |
Loop ID | Unique identifier for the loop | Text (Short) | No | All |
Item value | The value of the item in the loop | Text (Long) | No | All |
Item index | The item index of the item in the loop | Number | No | 1 |
Outcomes
Name | Description |
Success | This status is selected if the job has successfully completed. |
Requirements
N/A