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": "sunt laboris",
"description": "eu reprehenderit officia aliquip",
"app": "Lorem ipsum",
"variables": {
"error": ""
},
"groups": [
"e1f9a5239a5f57731b0dbb44",
"9f1c7417a075a5c977cbbd11",
"44d08dd7517572362a45c865",
"beb909f06549a76957a54563",
"27f85cb1452e47461e2f8e4e"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": false,
"scheduled": false,
"retrySettings": {
"state": [
"error",
"success",
"success",
"success",
"success"
],
"autoRetry": true,
"limit": 10,
"delay": 2000,
"count": 5
}
}
},
"transitions": {},
"groups": [
"de8ef5d75bec044316a44fde",
"3baaae7bd0b2bfedf45274e9",
"faddb34f6e43ecbe193ba96e"
],
"_id": "5cb7b531d06cceb89fd21b1c",
"description": "incididunt cupidatat culpa",
"preAutomationTime": 5000,
"font_size": 12,
"created": "2019-07-09T06:32:15.051Z",
"created_by": "18c9031bfb917a06ce79934d",
"last_updated": "1978-08-07T01:25:45.584Z",
"last_updated_by": "21a03e913c25e7f6c9d40e0f",
"lastUpdatedVersion": "cillum aliqua",
"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"
]