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": [
"abfacb8e4dd0eb0b3f782453",
"73dba4ffb468cf0e7d495e42",
"fe58c5940ed8d8d85da6eab1"
],
"_id": "dfb24a24-321e-6cb4-d097-e00d38941090",
"description": null,
"font_size": 12,
"created": "1985-04-11T03:29:23.475Z",
"created_by": "7a4c471e6ecea6e5d9c356f8",
"last_updated": "1947-05-02T16:37:43.439Z",
"last_updated_by": "2b1ccdca35c0f9122e44b881",
"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",
"12ab",
"cd34",
"cd34",
"12ab"
]