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": "adipisicing minim in",
"description": "amet ullamco",
"app": "in dolore",
"variables": {
"error": ""
},
"groups": [
"6e5f64588301c5aaa4a085ac",
"d78d24904d526fd7b1dc165f",
"cb46609a041cde0ed532956a",
"157ab780b02b210cd7dcf024"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": false,
"scheduled": true,
"retrySettings": {
"state": [
"failure",
"error"
],
"autoRetry": true,
"limit": 20,
"delay": 1000,
"count": 5
}
}
},
"transitions": {},
"groups": [
"357823033b55f3ebeb493bef",
"ece2c8a1fde02320e14136e8",
"109abae14ba87e6b0983e924",
"5cff9fa21e0352ba8fe73010",
"32f4cd5d6fa8df1a68053b63"
],
"_id": "4321abcdef694aa79dae47ad",
"description": "esse sint reprehenderit",
"preAutomationTime": 250000,
"font_size": 12,
"created": "1983-07-29T23:49:14.424Z",
"created_by": "5a9d53652cb7907858c9f9a7",
"last_updated": "1974-07-24T02:05:22.412Z",
"last_updated_by": "87c661d12b9ac2c95c80e8c6",
"lastUpdatedVersion": "in sit eu",
"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
[
"cd34",
"cd34"
]