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": [
"5ac3bfcc4066e0522773d089",
"7475913b747477e161b50f1c",
"ffc978ed04275bc44da37053"
],
"_id": "50130ac3-97aa-00f5-3c95-3d16f18156cf",
"description": null,
"font_size": 12,
"created": "2017-10-12T17:57:28.344Z",
"created_by": "513cac98a9154ae34812278c",
"last_updated": "2018-02-11T12:34:37.931Z",
"last_updated_by": "9b97bc53575ee88818a8c3e1",
"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
[
"cd34",
"12ab",
"cd34"
]