Summary
For Each Loop
Description
Iterate over each item in an array
Route
No Northbound API Available
Roles
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
job_id |
string |
yes |
The Job ID |
data_array |
array |
yes |
Items to go in the task's job.loop |
Copied to Clipboard
{
"job_id": "4321abcdef694aa79dae47ad",
"data_array": []
}
Copied to Clipboard
{
"type": "object",
"properties": {
"job_id": {
"$ref": "wfEngineCommon#/definitions/mongoObjectId"
},
"data_array": {
"title": "data_array",
"type": "array",
"items": [
{
"type": [
"string",
"number",
"integer",
"object",
"array",
"boolean",
"null"
]
}
]
}
},
"required": [
"job_id",
"data_array"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
current_item |
* |
Current item |
Copied to Clipboard
"some item from the data_array"
Copied to Clipboard
{
"title": "current_item",
"type": [
"string",
"number",
"object",
"boolean",
"integer",
"array",
"null"
],
"examples": [
"some item from the data_array"
]
}