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": "ex id dolore",
"description": "deserunt qui ea",
"app": "elit in",
"variables": {
"error": ""
},
"groups": [
"4a7ac86c0cea25fa3dd8528f",
"e789780a8dd884807e317ab3",
"878abc01ef6dc1f001a21c12"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": false,
"scheduled": false,
"retrySettings": {
"state": [
"failure"
],
"autoRetry": false,
"limit": 10,
"delay": 1000,
"count": 5
}
}
},
"transitions": {},
"groups": [
"9b2730c8e75d480d77ac41de",
"ac2e538ee0a1861f3d5de458",
"0a4e170f7350e2f2c9ad1c17"
],
"_id": "5cb7b531d06cceb89fd21b1c",
"description": "minim",
"preAutomationTime": 5000,
"font_size": 12,
"created": "1947-09-20T02:36:10.322Z",
"created_by": "80fb0ecd64336c8846f48dc5",
"last_updated": "1971-02-10T03:08:06.201Z",
"last_updated_by": "a6efd233329fa78ec007bd14",
"lastUpdatedVersion": "elit Excepteur",
"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",
"12ab",
"12ab"
]