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": "nostrud",
"description": "veniam anim in dolore laborum",
"app": "quis proident labore",
"variables": {
"error": ""
},
"groups": [
"ee4a421612127a56bbe6ce9f",
"9aad8df4e6f5f4bf19bdd99b",
"7807d43a997ac7a8380cbaeb",
"806a7cae68fbf1db9e632406",
"49e9f56bf340dc9e966ac0b9"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": false,
"scheduled": false
}
},
"transitions": {},
"groups": [
"ff4cdb41ea52b845243be315",
"2a4d94e78f70ed7326533783",
"e02ddb51098b545386ce821f",
"58b957542e9262eb8a44040b"
],
"_id": "5cb7b531d06cceb89fd21b1c",
"description": null,
"preAutomationTime": 250000,
"font_size": 12,
"created": "2019-02-05T13:22:09.311Z",
"created_by": "4d3db7dde5f5cb0ac08bc9d0",
"last_updated": "1976-10-14T04:31:32.468Z",
"last_updated_by": "a580e352e7742d8c263168ed",
"lastUpdatedVersion": "laboris magna eiusmod ut",
"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",
"cd34",
"12ab",
"cd34"
]