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": "sit est reprehenderit ex",
"description": "dolore reprehenderit laboris",
"app": "commodo adipisicing ut elit dolore",
"variables": {
"error": ""
},
"groups": [
"e2cbc40607746497ec8580aa"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": false,
"scheduled": true,
"retrySettings": {
"state": [
"error",
"error",
"error",
"failure",
"failure"
],
"autoRetry": false,
"limit": 20,
"delay": 2000,
"count": 5
}
}
},
"transitions": {},
"groups": [
"96ad940b2fc8873aad2456b4",
"fe0bd07af244334a404c23cb",
"92ab8b97ce43b25e87e98281",
"259ca26e5c93527dc366529a"
],
"_id": "4321abcdef694aa79dae47ad",
"description": null,
"preAutomationTime": 5000,
"font_size": 12,
"created": "2012-08-23T08:43:06.172Z",
"created_by": "7000f557d31850e3b36026a9",
"last_updated": "1953-11-26T03:24:06.934Z",
"last_updated_by": "1eda5fb10c0f3aed54f84bf4",
"lastUpdatedVersion": "non ullamco amet tempor",
"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",
"12ab",
"cd34",
"cd34"
]