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": "cupidatat",
"description": "incididunt in pariatur proident",
"app": "Duis nostrud aliquip dolor",
"variables": {
"error": ""
},
"groups": [
"31baf77d45a5aec0344a61b9"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": false,
"scheduled": false,
"retrySettings": {
"state": [
"success",
"error",
"failure",
"success"
],
"autoRetry": false,
"limit": 20,
"delay": 2000,
"count": 5
}
}
},
"transitions": {},
"groups": [
"0c545f00952341794f9170cb",
"b4685bd21e86007563843c84",
"cd8abb8533c38979c660d335"
],
"_id": "5cb7b531d06cceb89fd21b1c",
"description": "laboris dolor cupidatat",
"preAutomationTime": 5000,
"font_size": 12,
"created": "2024-10-09T11:02:44.634Z",
"created_by": "a8eedfd00ae7ca515a960835",
"last_updated": "2004-06-11T14:02:14.686Z",
"last_updated_by": "a0b282c601436de19e58a5e5",
"lastUpdatedVersion": "fugiat aliqua",
"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",
"cd34",
"cd34",
"12ab"
]