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": "eu amet ut laborum",
"description": "ut minim Lorem",
"app": "laborum amet in cupidatat mollit",
"variables": {
"error": ""
},
"groups": [
"72de0dccac3c94bbc8df3f63",
"20e96a130e267af90589153b",
"4056599e30bae115cd49e3f2"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": true,
"scheduled": false,
"retrySettings": {
"state": [
"failure",
"failure",
"success",
"error"
],
"autoRetry": true,
"limit": 20,
"delay": 2000,
"count": 5
}
}
},
"transitions": {},
"groups": [
"d41e550e90f9cd5eb29818e4",
"8e4625a85fafc36610d71bf1",
"d5d92a8a0a74b4fc9c72ef47",
"d6dafc68681573d61687e06c",
"a0b49bf17cbc37d9acc641cf"
],
"_id": "4321abcdef694aa79dae47ad",
"description": null,
"preAutomationTime": 5000,
"font_size": 12,
"created": "1991-03-12T07:40:09.684Z",
"created_by": "a3106340518a58ebd5f03722",
"last_updated": "2004-01-18T22:49:45.626Z",
"last_updated_by": "30d0e1fe8709b53e4d9a3292",
"lastUpdatedVersion": "ut Ut sunt laborum",
"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"
]