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": "proident Duis culpa esse",
"description": "consectetur ad occaecat magna do",
"app": "laboris est",
"variables": {
"error": ""
},
"groups": [
"c601f0aa6515b7456ff0e64a",
"db57795ebd1a6e3f6ac18710",
"93d34ee516d236d67e3c7885",
"73a5279eb14dba0e3066b329"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": false,
"scheduled": true
}
},
"transitions": {},
"groups": [
"263726bdad878ee03eb748f4",
"f33121b36e675ac76b2a6a29"
],
"_id": "5cb7b531d06cceb89fd21b1c",
"description": null,
"preAutomationTime": 250000,
"font_size": 12,
"created": "1974-03-24T19:17:29.727Z",
"created_by": "39e93dbb7e26dfdc86717cd2",
"last_updated": "1956-11-05T14:24:13.408Z",
"last_updated_by": "e2d1db2ab86dd2ac35b6fb9b",
"lastUpdatedVersion": "aute",
"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
[
"12ab",
"cd34"
]