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 ut ut",
"description": "anim",
"app": "ea non sit nulla",
"variables": {
"error": ""
},
"groups": [
"0904583c8dfd57edb99bb31d",
"cab1e275849fa12c97f1e639"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": true,
"scheduled": true,
"retrySettings": {
"state": [
"error",
"failure",
"error",
"success"
],
"autoRetry": false,
"limit": 10,
"delay": 2000,
"count": 5
}
}
},
"transitions": {},
"groups": [
"969a7cd496bc3d9029ef471b",
"ae5f16a3fffeec92f8e3ad64",
"341058236c9df858ffca2ce5",
"6b193794b5f93f3cf3a2c4b8"
],
"_id": "4321abcdef694aa79dae47ad",
"description": null,
"preAutomationTime": 5000,
"font_size": 12,
"created": "2007-06-11T06:56:21.83Z",
"created_by": "4d0bc92e74b9244b675557e8",
"last_updated": "1970-10-01T03:18:13.816Z",
"last_updated_by": "f1ccb1b7fbb256d629bad958",
"lastUpdatedVersion": "exercitation ullamco id nostrud",
"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
[
"cd34",
"cd34",
"12ab",
"12ab",
"cd34"
]