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": "Duis",
"description": "non",
"app": "in anim Lorem cupidatat",
"variables": {
"error": ""
},
"groups": [
"285f88fac74b51a7c6c97ebd",
"cb7da0ed7ff6873267577e99",
"bd28ce62873c6e01fc872842",
"3945d004ae77584c00b46bb3",
"3aefd86323827e49d15b1957"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": true,
"scheduled": false,
"retrySettings": {
"state": [
"error",
"error"
],
"autoRetry": true,
"limit": 20,
"delay": 1000,
"count": 5
}
}
},
"transitions": {},
"groups": [
"350662fd11dfbbf7fa37a3b5",
"1990bcad9f532ecaa8798988",
"2925ae6cb7639391704954d7"
],
"_id": "5cb7b531d06cceb89fd21b1c",
"description": "ullamco aliqua",
"preAutomationTime": 250000,
"font_size": 12,
"created": "2000-08-04T14:21:43.691Z",
"created_by": "a6fc1b695e0d32e8b2d04cb2",
"last_updated": "1963-08-28T06:18:47.585Z",
"last_updated_by": "cd02940b75f59cc4e25389eb",
"lastUpdatedVersion": "aliquip",
"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",
"cd34"
]