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": "dolor occaecat",
"description": "qui labore consectetur ut",
"app": "esse dolor Duis in",
"variables": {
"error": ""
},
"groups": [
"d8be84c12075fbb7bf43de87",
"aa965c7eb69becd5ef77358f",
"f7ba634d264e2dd254cfa899"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": false,
"scheduled": false,
"retrySettings": {
"state": [
"success"
],
"autoRetry": true,
"limit": 10,
"delay": 1000,
"count": 5
}
}
},
"transitions": {},
"groups": [
"fa6a94a018ee19fe52c64676",
"b557bb539b65d2d261a6e1d6",
"4304c59142463f08c0658780",
"46deb7e413f505a19c5ddc22"
],
"_id": "5cb7b531d06cceb89fd21b1c",
"description": "laborum nulla Duis esse ut",
"preAutomationTime": 5000,
"font_size": 12,
"created": "2017-07-09T08:52:11.008Z",
"created_by": "0f1f6942b5713a67c0662e68",
"last_updated": "1969-12-30T13:02:46.796Z",
"last_updated_by": "d89fc4e647219fcc76fbf3c5",
"lastUpdatedVersion": "Lorem sed sunt",
"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",
"12ab"
]