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": "aute",
"description": "dolore esse voluptate velit",
"app": "non adipisicing officia laborum esse",
"variables": {
"error": ""
},
"groups": [
"9ea41d8adde96d926c757ec3",
"138520a10d007c36dfda3e86",
"5f55035b6bbf7fa367e076b6"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": true,
"scheduled": true,
"retrySettings": {
"state": [
"error"
],
"autoRetry": false,
"limit": 20,
"delay": 2000,
"count": 5
}
}
},
"transitions": {},
"groups": [
"369b87a9750a8c9af0b19194",
"6dd92a8cf1b584dc7da1b96b",
"f2bf2cc198e9f5bf31d6c66d",
"7e342d7ad8c3766a2eb00a12",
"0c0f15598dc5ddc8a8f880be"
],
"_id": "4321abcdef694aa79dae47ad",
"description": "quis Duis",
"preAutomationTime": 250000,
"font_size": 12,
"created": "2015-06-14T10:16:12.51Z",
"created_by": "c239e0ec51549c598a0d3190",
"last_updated": "1953-04-02T03:48:46.221Z",
"last_updated_by": "85976701d8d495ae483e6b25",
"lastUpdatedVersion": "Lorem",
"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",
"12ab"
]