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": "elit anim dolore",
"description": "proident",
"app": "veniam laboris",
"variables": {
"error": ""
},
"groups": [
"de6af8011c798b222846ccc2",
"fa4182ba8fd599fcb8e02881",
"ff42cbd436ebc1b1fa626836",
"218e8fdcf89b3f5a51dc600a"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": true,
"scheduled": false,
"retrySettings": {
"state": [
"failure",
"error"
],
"autoRetry": true,
"limit": 20,
"delay": 2000,
"count": 5
}
}
},
"transitions": {},
"groups": [
"d1dbee01a8faf049cfe0d081",
"f4e89e17c1796db9b60939b4",
"e8b6e9df0e579ae59210b453",
"60368f99971fc606152bc813",
"66cfca55de934abd30178404"
],
"_id": "4321abcdef694aa79dae47ad",
"description": null,
"preAutomationTime": 250000,
"font_size": 12,
"created": "1980-09-17T03:03:07.349Z",
"created_by": "b5520832f2a5e1c75b85be89",
"last_updated": "2022-02-21T04:59:32.205Z",
"last_updated_by": "61239811c9bd99e70325347a",
"lastUpdatedVersion": "dolor Lorem occaecat amet",
"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"
]