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": "dolore ex sint ad reprehenderit",
"description": "laborum commodo",
"app": "deserunt eiusmod sit et laboris",
"variables": {
"error": ""
},
"groups": [
"da0221e4194b4e0384a74bbb",
"6c8c634d09495f1555fb0936",
"35ac532b9591ca43b7a3a343",
"538d38a5df46e19ee69ea952"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": true,
"scheduled": false,
"retrySettings": {
"state": [
"error"
],
"autoRetry": false,
"limit": 10,
"delay": 1000,
"count": 5
}
}
},
"transitions": {},
"groups": [
"3c21e598f99d6a96a8633c31",
"2c62239edf4d7f0bc21e08db",
"e8bacb12923ead6a99db0075"
],
"_id": "4321abcdef694aa79dae47ad",
"description": "fugiat tempor ut",
"preAutomationTime": 5000,
"font_size": 12,
"created": "1993-12-30T04:06:05.367Z",
"created_by": "7cf84af35cf4e5c5f525fa81",
"last_updated": "1977-05-04T14:02:43.151Z",
"last_updated_by": "473cadaf1e6ed301b9dd0b65",
"lastUpdatedVersion": "minim magna occaecat",
"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"
]