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": "deserunt qui nostrud",
"description": "ex",
"app": "ut dolor in dolore ut",
"variables": {
"error": ""
},
"groups": [
"e35eeb0f5e9e821c668bfb7f",
"30050b20e1dab22db8c34822"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": false,
"scheduled": true,
"retrySettings": {
"state": [
"failure",
"success",
"error",
"success"
],
"autoRetry": true,
"limit": 10,
"delay": 1000,
"count": 5
}
}
},
"transitions": {},
"groups": [
"5d1f1ff73bb1e33446cf7678",
"1f4f967a9323facc5af93361",
"833ed65fd9c3cd20ba44f28a",
"b168e39fa8c49f97b9cb3266"
],
"_id": "4321abcdef694aa79dae47ad",
"description": "cillum ea in",
"preAutomationTime": 250000,
"font_size": 12,
"created": "1970-11-17T07:22:09.948Z",
"created_by": "a601776d2d71d5feddab47a2",
"last_updated": "1971-07-28T05:11:45.352Z",
"last_updated_by": "bf0641413f539e4706a93fc8",
"lastUpdatedVersion": "cupidatat nisi",
"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",
"12ab",
"cd34",
"12ab",
"cd34"
]