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": "consectetur ullamco elit",
"description": "dolor",
"app": "in",
"variables": {
"error": ""
},
"groups": [
"6a49bce278e04b6c3eb00614",
"ec246da9be300e1674aae9d2",
"3269254859314a7832abad04",
"3bea07368f385e026aa97bd0"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": true,
"scheduled": false
}
},
"transitions": {},
"groups": [
"942ced66bd8afc1b6f506385",
"2f28fffd4cf8ae9bda060eb0"
],
"_id": "5cb7b531d06cceb89fd21b1c",
"description": "proident aliqua",
"font_size": 12,
"created": "1974-05-31T09:27:19.17Z",
"created_by": "bee0d04375a42dd7298125f9",
"last_updated": "2001-07-25T09:24:47.155Z",
"last_updated_by": "9c518ddc66ebf6f99c653b7e",
"lastUpdatedVersion": "exercitation",
"tags": [],
"canvasVersion": 2
}
}
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",
"cd34"
]