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": "elit ut",
"description": "reprehenderit deserunt do ut",
"app": "Ut Lorem",
"variables": {
"error": ""
},
"groups": [
"51c8fdbfcf5aaf9ead5be487",
"7cbea50333dd77f30de53a0c",
"759de0255afd6966c2347374",
"8a4a2f4df81333eb86ef9e71"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": false,
"scheduled": true,
"retrySettings": {
"state": [
"success",
"success",
"failure",
"failure"
],
"autoRetry": false,
"limit": 10,
"delay": 1000,
"count": 5
}
}
},
"transitions": {},
"groups": [
"25d43ae96477f9a07d98f528",
"3dcc35768fbb6bd14de7315f",
"9bdca836ecd8e3102f196393"
],
"_id": "5cb7b531d06cceb89fd21b1c",
"description": null,
"preAutomationTime": 250000,
"font_size": 12,
"created": "1967-08-30T16:49:56.54Z",
"created_by": "e6916698751b92216ef28cab",
"last_updated": "2003-03-29T10:59:39.345Z",
"last_updated_by": "6a89af9ad17c339291768b81",
"lastUpdatedVersion": "nostrud",
"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",
"cd34",
"cd34"
]