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": "reprehenderit",
"description": "ut proident in sunt",
"app": "ullamco fugiat in",
"variables": {
"error": ""
},
"groups": [
"91bfdf51340b2a9c03b8cea5"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": true,
"scheduled": true
}
},
"transitions": {},
"groups": [
"86bdfb86519fcbfbf21e17f0",
"3a908a9a8251816b7abbbe0f",
"bb5cff01c0387d6409a36040",
"33d5a8c22a8017555afd134b",
"3fb20fe8cd04f0f4fd3d553e"
],
"_id": "5cb7b531d06cceb89fd21b1c",
"description": "quis pariatur ullamco ut",
"font_size": 12,
"created": "2016-08-21T13:10:29.888Z",
"created_by": "218db2dba03e0c200f39c003",
"last_updated": "1974-02-08T21:38:35.797Z",
"last_updated_by": "d4619402df8ad7b5889be3b7",
"lastUpdatedVersion": "et veniam",
"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",
"12ab",
"cd34"
]