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": "reprehenderit Duis aliqua",
"description": "ut non et",
"app": "labore qui anim",
"variables": {
"error": ""
},
"groups": [
"a3024241a368d3dffe7ba9b8",
"37f775efd3e1751affdc2981",
"9122dd3881d3e7b19d243227"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": true,
"scheduled": true,
"retrySettings": {
"state": [
"failure"
],
"autoRetry": false,
"limit": 20,
"delay": 1000,
"count": 5
}
}
},
"transitions": {},
"groups": [
"956b25ed9ec2e220db2d4281",
"085889a8f78c982796d8f028",
"2cda7c2c4ae11c7728e7d7d0",
"4401707af7a5a26649e7200a",
"576bb1fc809a6e1263a73e8a"
],
"_id": "4321abcdef694aa79dae47ad",
"description": null,
"preAutomationTime": 250000,
"font_size": 12,
"created": "2019-01-28T09:41:54.358Z",
"created_by": "67f1688e9bebe2fa82ab43ad",
"last_updated": "2008-06-10T17:41:04.005Z",
"last_updated_by": "3f72e7a6ab7393ea0b267454",
"lastUpdatedVersion": "tempor amet",
"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",
"12ab"
]