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": "aliqua nulla tempor cupidatat",
"description": "ut commodo non cillum deserunt",
"app": "mollit dolor elit eu",
"variables": {
"error": ""
},
"groups": [
"5b6d90c123056af29378313a",
"2eb01909f4e7ae5366cc4813",
"a0eb4369e538c78830a8e297",
"71199452abf4e52dbca9a6ad",
"5920a07e46ff5dab5abc3afb"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": true,
"scheduled": true,
"retrySettings": {
"state": [
"success",
"success",
"failure",
"failure",
"error"
],
"autoRetry": false,
"limit": 10,
"delay": 2000,
"count": 5
}
}
},
"transitions": {},
"groups": [
"03a27f5f83ff68aa9b4cba2b"
],
"_id": "5cb7b531d06cceb89fd21b1c",
"description": null,
"preAutomationTime": 5000,
"font_size": 12,
"created": "1958-11-14T13:52:30.192Z",
"created_by": "51f802a2e7e495d60702d286",
"last_updated": "2024-08-01T00:21:45.976Z",
"last_updated_by": "6f63b15579d550815056df3a",
"lastUpdatedVersion": "reprehenderit commodo",
"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
[
"cd34",
"cd34",
"cd34"
]