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": "sint Ut cupidatat minim consectetur",
"description": "ullamco in sunt magna",
"app": "fugiat cupidatat et",
"variables": {
"error": ""
},
"groups": [
"ec20c13f5c20d9200fee5e54",
"28ef6c5b9ca75d421091e684",
"8a906bd7cef81f22c7856e85"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": false,
"scheduled": true,
"retrySettings": {
"state": [
"success",
"failure"
],
"autoRetry": false,
"limit": 10,
"delay": 1000,
"count": 5
}
}
},
"transitions": {},
"groups": [
"6fe722f97c9a78e8c3f50c3d"
],
"_id": "4321abcdef694aa79dae47ad",
"description": "in sint proident adipisicing sed",
"preAutomationTime": 5000,
"font_size": 12,
"created": "2024-01-11T04:32:49.374Z",
"created_by": "75c12614ec2fe95439e62fd2",
"last_updated": "1952-07-16T10:13:35.312Z",
"last_updated_by": "f7847002ea3c8e04609dc43c",
"lastUpdatedVersion": "qui ea do",
"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",
"12ab",
"12ab"
]