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": "exercitation minim sunt ad",
"description": "adipisicing consequat consectetur magna",
"app": "minim adipisicing irure nulla do",
"variables": {
"error": ""
},
"groups": [
"57bea921d4aa4e7052243a90",
"fff3d1b923e2b28bda822727"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": false,
"scheduled": true
}
},
"transitions": {},
"groups": [
"057ceb261d44ef6e29f9149f",
"b2c5648e21c1214580b84adb",
"f9c52096af39b039a2a8d8e4",
"cb9e7e5215c4fe43b7a8761c"
],
"_id": "5cb7b531d06cceb89fd21b1c",
"description": "mollit non velit sint Ut",
"font_size": 12,
"created": "2021-05-30T02:04:40.094Z",
"created_by": "d16495a0b231d95fe40a3500",
"last_updated": "1944-07-25T22:04:38.71Z",
"last_updated_by": "b745b4bd98a61b88b8f09cea",
"lastUpdatedVersion": "sed voluptate enim fugiat minim",
"tags": [],
"canvasVersion": 1
}
}
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"
]