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": "culpa",
"description": "sint",
"app": "deserunt non Ut",
"variables": {
"error": ""
},
"groups": [
"960b715b5d9a50ca17c0a19a",
"f640de398f5d33748f4be645",
"d735f42365cea9a5c9f73075",
"8ab4c17b23105c8e8cf28834"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": true,
"scheduled": false,
"retrySettings": {
"state": [
"failure",
"success",
"failure",
"success"
],
"autoRetry": false,
"limit": 20,
"delay": 1000,
"count": 5
}
}
},
"transitions": {},
"groups": [
"179e1163e82c9f0524b53d4f"
],
"_id": "4321abcdef694aa79dae47ad",
"description": "ipsum est",
"preAutomationTime": 5000,
"font_size": 12,
"created": "2023-07-17T02:31:54.268Z",
"created_by": "13b8aa5390cd305914cc35db",
"last_updated": "2022-07-09T01:44:03.526Z",
"last_updated_by": "de15b723db796c4b8dfbfc0f",
"lastUpdatedVersion": "amet ut dolore",
"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"
]