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": "ea",
"description": "eiusmod",
"app": "mollit cupidatat dolore sed",
"variables": {
"error": ""
},
"groups": [
"a5ec963ac6a1566d1aaddb23",
"ebbf6a072ef9f03014685928"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": false,
"scheduled": false,
"retrySettings": {
"state": [
"error",
"error"
],
"autoRetry": false,
"limit": 10,
"delay": 1000,
"count": 5
}
}
},
"transitions": {},
"groups": [
"4ea063277f9a66c5afe68e24",
"1bcb746f70ad31b0f21bb954",
"d7e23af2f2fa203cfdfdd6b3"
],
"_id": "5cb7b531d06cceb89fd21b1c",
"description": "voluptate",
"preAutomationTime": 5000,
"font_size": 12,
"created": "1989-08-26T19:19:31.773Z",
"created_by": "842870c072896106298662bb",
"last_updated": "1952-07-11T17:36:01.921Z",
"last_updated_by": "91870d4f3a2ba96589965e44",
"lastUpdatedVersion": "do laboris magna occaecat",
"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",
"12ab",
"cd34",
"cd34"
]