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": "enim et anim",
"description": "elit velit sed",
"app": "ut laboris ullamco elit",
"variables": {
"error": ""
},
"groups": [
"7d74b3d1c91c10cbe27fe191",
"02b787015d07580613f9dbc7"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": true,
"scheduled": false
}
},
"transitions": {},
"groups": [
"c7eeecd348e651e73b6e6e95"
],
"_id": "5cb7b531d06cceb89fd21b1c",
"description": "cupidatat do",
"preAutomationTime": 5000,
"font_size": 12,
"created": "1953-08-07T20:27:54.745Z",
"created_by": "2f14a4f3523c81c4407daf9b",
"last_updated": "1975-08-13T18:49:14.864Z",
"last_updated_by": "ae3aa4b0e933a3fde9ae408e",
"lastUpdatedVersion": "mollit",
"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"
]