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": "cillum aliquip deserunt adipisicing consequat",
"description": "dolore magna in sed",
"app": "do ad dolore adipisicing laboris",
"variables": {
"error": ""
},
"groups": [
"30c5e832aef12b1c2ba2f7e3"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": false,
"scheduled": false
}
},
"transitions": {},
"groups": [
"ea9d0a55c45b9a3c6bbd8441",
"45ba807938c59356a0459582",
"200c2ed6f21331f59d741095",
"39541196b6ff583755f8e283",
"e1e281935caf8dfbf33f7549"
],
"_id": "4321abcdef694aa79dae47ad",
"description": null,
"font_size": 12,
"created": "1975-06-19T11:01:41.213Z",
"created_by": "bf01110dc6df14c15de06fe4",
"last_updated": "1994-01-02T17:24:46.941Z",
"last_updated_by": "57cc625c6318deb6d2f7bb95",
"lastUpdatedVersion": "ex irure nisi in",
"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",
"12ab",
"12ab"
]