Summary
Validate All Loops
Description
Validate all looped Tasks in a Workflow by Workflow details.
Route
POST /workflow_engine/validateAllLoops
Roles
admin
apiread
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
workflow_details |
object |
yes |
Workflow to validate 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
}
},
"transitions": {},
"groups": [
"3712b19aff918e330ccfa27f",
"48e1f05448e496e6a9af58ca",
"558eb3fd3c456760d713d336",
"3e898b960ad020e3a1493f2e"
],
"_id": "451e7e9e-ee70-feef-048a-dfca225f3a51",
"description": null,
"font_size": 12,
"created": "1991-05-18T10:07:03.547Z",
"created_by": "6a939db68641dd73374cd5a7",
"last_updated": "1984-11-19T21:10:33.496Z",
"last_updated_by": "07ab51f28fa496357561065b",
"tags": []
}
}
Copied to Clipboard
{
"type": "object",
"properties": {
"workflow_details": {
"$ref": "workflowDocument"
}
},
"required": [
"workflow_details"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
valid_loop_tasks |
array |
Valid looped Tasks of the Workflow. |
Copied to Clipboard
[
"12ab",
"cd34",
"cd34",
"cd34",
"12ab"
]