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": "fugiat",
"description": "Ut dolor",
"app": "aute voluptate cillum dolore consectetur",
"variables": {
"error": ""
},
"groups": [
"02bf0c9da5d314739d876a53",
"09aebe96d70c04df915edaef"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": true,
"scheduled": false,
"retrySettings": {
"state": [
"error"
],
"autoRetry": false,
"limit": 20,
"delay": 2000,
"count": 5
}
}
},
"transitions": {},
"groups": [
"6fc4c9a378c1cb516b60d45d",
"e24b3a8f6e2b50a79fe51194",
"e318758cd47533a999a031b2",
"cca874588222dc15c20283f1",
"1babd80cf99c357740f4c0a2"
],
"_id": "4321abcdef694aa79dae47ad",
"description": null,
"preAutomationTime": 250000,
"font_size": 12,
"created": "1975-07-05T04:42:00.955Z",
"created_by": "233fb411e83046fedcf0950f",
"last_updated": "1957-12-21T18:02:40.783Z",
"last_updated_by": "6c34409fc2e7a713a6231f93",
"lastUpdatedVersion": "irure voluptate incididunt",
"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
[
"cd34"
]