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": "et tempor minim dolor sint",
"description": "proident tempor Lorem",
"app": "voluptate",
"variables": {
"error": ""
},
"groups": [
"d7faf2ac99b1199994b0138f",
"12158ff3a03aa10c2ff319bf",
"42bed571fced3e238f772f8d",
"58bb195c539bc2de89e9cbb8",
"be249316c27394fea5b7c5d7"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": true,
"scheduled": true,
"retrySettings": {
"state": [
"error",
"success",
"failure",
"failure",
"success"
],
"autoRetry": true,
"limit": 10,
"delay": 2000,
"count": 5
}
}
},
"transitions": {},
"groups": [
"96fc94b03759c77a9d91c6a5"
],
"_id": "4321abcdef694aa79dae47ad",
"description": "anim incididunt qui quis",
"preAutomationTime": 250000,
"font_size": 12,
"created": "1959-03-24T01:56:28.486Z",
"created_by": "dc071dcba73fcd0b53082582",
"last_updated": "1997-09-26T03:58:39.791Z",
"last_updated_by": "ee1176d48a8747abc7d0d672",
"lastUpdatedVersion": "id sed do nisi",
"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
[
"12ab",
"12ab",
"cd34",
"12ab"
]