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": "qui consectetur ullamco laborum nulla",
"description": "et nisi esse officia labore",
"app": "dolore esse laboris deserunt",
"variables": {
"error": ""
},
"groups": [
"ab6a52c1c806a375e097926b",
"4df046f99f92b6b1960057a0"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": true,
"scheduled": true,
"retrySettings": {
"state": [
"error"
],
"autoRetry": true,
"limit": 20,
"delay": 1000,
"count": 5
}
}
},
"transitions": {},
"groups": [
"3bbbb1cf818642b24f0b632d"
],
"_id": "4321abcdef694aa79dae47ad",
"description": "qui culpa in",
"preAutomationTime": 250000,
"font_size": 12,
"created": "2019-06-19T20:36:59.4Z",
"created_by": "a51f0187991d76cfbbb2b4a9",
"last_updated": "1961-08-19T22:49:22.316Z",
"last_updated_by": "fa58a30f0526b7248eb3b582",
"lastUpdatedVersion": "consectetur",
"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
[
"cd34",
"cd34",
"cd34",
"cd34"
]