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": "qui",
"description": "irure",
"app": "ut id quis",
"variables": {
"error": ""
},
"groups": [
"0a9c502ce9a961a564d4845f",
"04819047b7abda7eb7feac88",
"b3b7d92cb69881eec4b0c5f0",
"9b1e0797ec6b2f64f360e7a4",
"75a6e4ec388405a40234bb57"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": false,
"scheduled": true,
"retrySettings": {
"state": [
"error"
],
"autoRetry": false,
"limit": 10,
"delay": 1000,
"count": 5
}
}
},
"transitions": {},
"groups": [
"fd7faaa5d26826a628ebe07b",
"3f09b2bcba711297f9c69c79"
],
"_id": "4321abcdef694aa79dae47ad",
"description": "aliqua sunt ullamco culpa quis",
"preAutomationTime": 250000,
"font_size": 12,
"created": "1973-03-10T18:17:30.243Z",
"created_by": "3204d3039eac45fbcdda20e8",
"last_updated": "1962-03-18T08:08:01.045Z",
"last_updated_by": "ad09752cc8b40b7236135b95",
"lastUpdatedVersion": "dolore in aliqua mollit consectetur",
"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
[
"12ab"
]