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": [
"ede9ff0afe2aca0d29bd315f",
"9698e2988a26191d0711b002",
"841502c369b56e0ec12461bc"
],
"_id": "206f389c-fbae-7630-54d1-179ded019359",
"description": "adipisicing ad",
"font_size": 12,
"created": "1951-10-26T15:25:31.263Z",
"created_by": "26c0bb682c76ed1f56078447",
"last_updated": "1963-01-23T03:47:15.948Z",
"last_updated_by": "c67e4a78ab63450921f02c94",
"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",
"12ab",
"12ab",
"12ab"
]