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 velit dolor voluptate",
"description": "et reprehenderit quis",
"app": "adipisicing non Duis consequat",
"variables": {
"error": ""
},
"groups": [
"71a843887fa4a3d3a0eeec58",
"dbe34e0c3df853fd7cadd664",
"44a9affcba68bc2ec7b3295e",
"23b38a5deb8f61bdded56772"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": false,
"scheduled": false,
"retrySettings": {
"state": [
"success",
"error",
"failure"
],
"autoRetry": true,
"limit": 10,
"delay": 1000,
"count": 5
}
}
},
"transitions": {},
"groups": [
"5228cfa2a7560a9b40886e09",
"cd89b7beeee2fa16235cb2ae",
"4879b055553b1e4a82097fe2",
"be690443ee506f45cbbd090c",
"c3c83c40dc1d3fab2a74c52c"
],
"_id": "5cb7b531d06cceb89fd21b1c",
"description": null,
"preAutomationTime": 250000,
"font_size": 12,
"created": "2006-04-17T06:02:52.546Z",
"created_by": "b8fe6e1c0af273bbf26db86a",
"last_updated": "1968-10-01T04:45:40.163Z",
"last_updated_by": "361be6337dd0815592329610",
"lastUpdatedVersion": "velit",
"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
[
"12ab",
"cd34"
]