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": "esse est commodo quis cupidatat",
"description": "do aliquip dolor",
"app": "magna officia incididunt aute",
"variables": {
"error": ""
},
"groups": [
"8f2e4ae8bd0f5c85f38e4843",
"800cddff48303438e25c7898",
"23577eaee16951e78d60e6f4",
"c2693a9609c6e9840606e4cb"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": true,
"scheduled": true,
"retrySettings": {
"state": [
"success"
],
"autoRetry": false,
"limit": 20,
"delay": 1000,
"count": 5
}
}
},
"transitions": {},
"groups": [
"ef39d8dc84e47e61fefb4abd",
"b770458b84289d58f775c4e8",
"c58468111625aee8ee83df49",
"39e4549ce0773c3c4d31a6d5",
"f0d2c803c6b2469c52eb64d1"
],
"_id": "5cb7b531d06cceb89fd21b1c",
"description": null,
"preAutomationTime": 250000,
"font_size": 12,
"created": "1956-08-12T10:05:21.072Z",
"created_by": "985849301de02cc7857e142c",
"last_updated": "1970-04-06T00:12:35.038Z",
"last_updated_by": "49c0ef7d422cbf0639cbfabe",
"lastUpdatedVersion": "do in voluptate ad tempor",
"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",
"cd34"
]