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
},
"error_handler": {
"name": "childJob",
"summary": "aute nulla dolor",
"description": "Ut ipsum qui sit in",
"app": "minim velit ut",
"variables": {
"error": ""
},
"groups": [
"a1c382b137ccd310ea658d25"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": true,
"scheduled": false
}
},
"transitions": {},
"groups": [
"643d501ca29c22095ed62aa2"
],
"_id": "4321abcdef694aa79dae47ad",
"description": "ad Ut proident consequat",
"preAutomationTime": 250000,
"font_size": 12,
"created": "1954-11-16T22:25:54.476Z",
"created_by": "acfe6bac2752dfca7ed46a9d",
"last_updated": "1978-11-09T02:15:03.332Z",
"last_updated_by": "280296b5a479a701a9c66996",
"lastUpdatedVersion": "consequat esse",
"tags": [],
"canvasVersion": 1
}
}
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",
"12ab",
"cd34"
]