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": "non aute",
"description": "dolore amet officia",
"app": "irure sed ea sit",
"variables": {
"error": ""
},
"groups": [
"21c060ce1efeb231dc646a10",
"7944acfc0f084295988db3e1",
"6855efdeedc38aaf728aef0f",
"fa5bbe27b40aea8e7c8ae0ae",
"06b5d5d7209cbe0432d7fd28"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": false,
"scheduled": true,
"retrySettings": {
"state": [
"success",
"failure",
"success",
"failure"
],
"autoRetry": true,
"limit": 10,
"delay": 2000,
"count": 5
}
}
},
"transitions": {},
"groups": [
"94db3b058ded8812bc64a0fb",
"863f569abd8e39dc00d57235",
"58a2527600779780d2b477c1"
],
"_id": "4321abcdef694aa79dae47ad",
"description": "velit culpa nostrud",
"preAutomationTime": 5000,
"font_size": 12,
"created": "2023-04-01T04:18:35.508Z",
"created_by": "d20e4acaab52e027caa1f9a3",
"last_updated": "1999-08-19T19:00:06.343Z",
"last_updated_by": "069d81f36b0d5887c9793b4e",
"lastUpdatedVersion": "ipsum",
"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",
"cd34",
"cd34"
]