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": "in officia magna",
"description": "sint laboris ut Duis dolor",
"app": "eiusmod",
"variables": {
"error": ""
},
"groups": [
"880e1d126745600c5d737346"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": true,
"scheduled": true,
"retrySettings": {
"state": [
"success",
"error",
"error"
],
"autoRetry": true,
"limit": 20,
"delay": 1000,
"count": 5
}
}
},
"transitions": {},
"groups": [
"9128b70b475a243523d386e9",
"f69abb0d6bbbccac6e9e220a",
"1a041ca46e83f3456a575eac",
"67020aff9cbed0f22fffd086"
],
"_id": "5cb7b531d06cceb89fd21b1c",
"description": "aliqua deserunt mollit dolor ad",
"preAutomationTime": 250000,
"font_size": 12,
"created": "2008-02-18T05:49:13.536Z",
"created_by": "ac4655be75cafc60109056e9",
"last_updated": "1978-07-02T18:19:03.746Z",
"last_updated_by": "f12dbb41d19513b1e51f7d45",
"lastUpdatedVersion": "in",
"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",
"12ab"
]