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": "pariatur veniam Ut qui do",
"description": "ut cillum fugiat",
"app": "qui cupidatat proident",
"variables": {
"error": ""
},
"groups": [
"5dcc8be941b7c6d70b8234f8"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": true,
"scheduled": true
}
},
"transitions": {},
"groups": [
"1216d7f5f5749bf651401811",
"581c7e15520c1c30ed74ad16",
"b795bdadb095815d7fe353fa"
],
"_id": "5cb7b531d06cceb89fd21b1c",
"description": "aliqua sunt adipisicing dolore",
"font_size": 12,
"created": "1948-03-31T18:37:26.355Z",
"created_by": "6dc1b3fb932787826a8fd0bf",
"last_updated": "2001-02-24T11:30:06.754Z",
"last_updated_by": "1a5e67cf81d448910a2a561d",
"lastUpdatedVersion": "ut nostrud nisi incididunt voluptate",
"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",
"cd34",
"cd34"
]