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": "in Lorem ea non",
"description": "nulla tempor commodo minim deserunt",
"app": "commodo",
"variables": {
"error": ""
},
"groups": [
"515533dea586ca19d58b6548",
"c5335d7470fce8d3fed3d31d"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": false,
"scheduled": true,
"retrySettings": {
"state": [
"error",
"success"
],
"autoRetry": true,
"limit": 20,
"delay": 1000,
"count": 5
}
}
},
"transitions": {},
"groups": [
"4a4eaf736b681ad92b00a8d9",
"1a3f3b1ea338936f629d8aae",
"dc7c95f04f3010434219589e",
"a6a526caaaab5bd0f5da8649",
"8634f9a87212c2445c0886b2"
],
"_id": "5cb7b531d06cceb89fd21b1c",
"description": null,
"preAutomationTime": 250000,
"font_size": 12,
"created": "1981-02-22T02:50:52.933Z",
"created_by": "6da15234600b57d07cb993d3",
"last_updated": "2018-06-23T11:51:03.249Z",
"last_updated_by": "e9e6bfe918c0bf2668d421f7",
"lastUpdatedVersion": "Ut minim proident qui",
"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
[
"cd34",
"cd34",
"12ab",
"12ab",
"12ab"
]