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": "in sunt quis ut",
"description": "consectetur enim ea incididunt",
"app": "non ad",
"variables": {
"error": ""
},
"groups": [
"c8777bb4639ab222d9376e9f",
"eceb234cc633b26d29184a18",
"fec9eed33057b0c7f536e75a",
"9494c9456d593bf1ebff172a",
"e8d26ddfc5aca60f6c8bdb0f"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": true,
"scheduled": true,
"retrySettings": {
"state": [
"error",
"success"
],
"autoRetry": true,
"limit": 20,
"delay": 1000,
"count": 5
}
}
},
"transitions": {},
"groups": [
"68e20ea603341c6b8b364fe8"
],
"_id": "4321abcdef694aa79dae47ad",
"description": null,
"preAutomationTime": 250000,
"font_size": 12,
"created": "1948-06-28T04:54:51.948Z",
"created_by": "a831fdeed11adf82c5eb569f",
"last_updated": "1963-11-09T02:45:17.546Z",
"last_updated_by": "fffbf8044a6b2a95ab0205cf",
"lastUpdatedVersion": "pariatur sed labore consectetur",
"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",
"12ab",
"cd34",
"cd34",
"cd34"
]