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": "velit nostrud",
"description": "sint ullamco incididunt cupidatat reprehenderit",
"app": "consequat Duis nisi esse Ut",
"variables": {
"error": ""
},
"groups": [
"7b77482028b49ecaf2d2c418",
"01f86611f598cd70bb99e82e",
"9a1800c3087bea1f9cff351b",
"c0a2f41de677fb8a9f949e74",
"d61ae55381d96969f892a0e4"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": false,
"scheduled": false,
"retrySettings": {
"state": [
"success",
"success"
],
"autoRetry": true,
"limit": 10,
"delay": 2000,
"count": 5
}
}
},
"transitions": {},
"groups": [
"5b15453e8344a498927ed832",
"e4333dd7470ec82b112e0d5e"
],
"_id": "5cb7b531d06cceb89fd21b1c",
"description": "exercitation",
"preAutomationTime": 5000,
"font_size": 12,
"created": "1994-07-19T06:24:03.283Z",
"created_by": "2ae21aaf93700bb5e352ddf8",
"last_updated": "1981-08-07T23:49:38.704Z",
"last_updated_by": "804fbb707456aa042d2dd740",
"lastUpdatedVersion": "Excepteur esse Lorem adipisicing",
"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",
"12ab",
"cd34",
"12ab",
"12ab"
]