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": "nulla anim ut",
"description": "tempor",
"app": "et anim ullamco elit irure",
"variables": {
"error": ""
},
"groups": [
"97a43acadccf73945c789105",
"8dd81a198bfe530e762280db",
"6271dec1bbd23e3aca959d45",
"2af297a3e39034c18f690154"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": false,
"scheduled": false
}
},
"transitions": {},
"groups": [
"fb0f6638369815b33aa19248"
],
"_id": "5cb7b531d06cceb89fd21b1c",
"description": "officia elit Excepteur incididunt esse",
"preAutomationTime": 5000,
"font_size": 12,
"created": "1968-12-11T18:48:47.575Z",
"created_by": "9bea205eb1b87c65f65ade22",
"last_updated": "1958-02-04T12:43:19.594Z",
"last_updated_by": "1f80dde39fff480c58e33806",
"lastUpdatedVersion": "amet veniam labore",
"tags": [],
"canvasVersion": 2
}
}
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",
"12ab",
"cd34"
]