Summary
Get All Loop Tasks
Description
Get all looped Tasks in a Workflow by Workflow details.
Route
POST /workflow_engine/getAllLoopTasks
Roles
admin
apiread
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
workflow_details |
object |
yes |
Workflow to get looped tasks. |
Copied to Clipboard
{
"workflow_details": {
"name": "My Workflow",
"type": "automation",
"tasks": {
"workflow_start": {
"name": "workflow_start",
"summary": "workflow_start",
"groups": [],
"x": 0.36142061281337046,
"y": 0.502092050209205
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": 0.36142061281337046,
"y": 0.502092050209205
},
"error_handler": {
"name": "childJob",
"summary": "labore in",
"description": "exercitation dolore",
"app": "pariatur consectetur irure",
"variables": {
"error": ""
},
"groups": [
"2c687714b4508531e42014c6",
"394647a8a60e67a481a9ba62"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": false,
"scheduled": true,
"retrySettings": {
"state": [
"error"
],
"autoRetry": true,
"limit": 10,
"delay": 2000,
"count": 5
}
}
},
"transitions": {},
"groups": [
"cc669013b2570ff6b81e8e6c"
],
"_id": "5cb7b531d06cceb89fd21b1c",
"description": "non do cupidatat ipsum ad",
"preAutomationTime": 250000,
"font_size": 12,
"created": "1954-01-14T08:19:20.504Z",
"created_by": "937a67c90843cbc06d6414ee",
"last_updated": "2016-11-09T06:17:50.216Z",
"last_updated_by": "1359333dae01babaf29e3ce3",
"lastUpdatedVersion": "nulla",
"tags": [],
"canvasVersion": 2
}
}
Copied to Clipboard
{
"type": "object",
"properties": {
"workflow_details": {
"$ref": "workflowDocument"
}
},
"required": [
"workflow_details"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
loop_tasks |
array |
looped Tasks of the Workflow. |
Copied to Clipboard
[
"cd34",
"cd34",
"cd34",
"cd34"
]