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": "in veniam non est mollit",
"description": "irure cupidatat officia nisi ullamco",
"app": "ut in",
"variables": {
"error": ""
},
"groups": [
"d34dbe3d198934ea15ddc281",
"742832c2dfdfeb368f3ee6e6",
"9b3be89d96aa6c6440006bed"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": true,
"scheduled": false
}
},
"transitions": {},
"groups": [
"18721d6ee058bf5d5e51af19",
"45e6dfcedec8809bd657db48",
"da634fc01b3b1fe89bc3d791",
"584e20f6269a8a7fe1772c1b",
"153695b387bfdf65690819bd"
],
"_id": "4321abcdef694aa79dae47ad",
"description": "adipisicing",
"font_size": 12,
"created": "1972-03-17T18:54:51.789Z",
"created_by": "1473b28a5eaccd9aa3d1fee2",
"last_updated": "1986-07-12T23:43:46.27Z",
"last_updated_by": "2f2637c7b89368c0dd43682c",
"lastUpdatedVersion": "in officia aute sint laboris",
"tags": [],
"canvasVersion": 1
}
}
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"
]