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
}
},
"transitions": {},
"groups": [
"f3c69ea471279f3ca93f6bf0",
"1c9d938c5757c6de3d06efd1"
],
"_id": "5cb7b531d06cceb89fd21b1c",
"description": "tempor eu pariatur et",
"font_size": 12,
"created": "1983-10-26T00:52:13.514Z",
"created_by": "1c207ab5cf79317508d0b125",
"last_updated": "2020-05-04T20:11:41.393Z",
"last_updated_by": "54d62fcf5a258e4e9bbbb662",
"tags": []
}
}
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"
]