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": "culpa sunt veniam",
"description": "cupidatat commodo consectetur mollit",
"app": "nostrud amet culpa in",
"variables": {
"error": ""
},
"groups": [
"c6d541d8a6070fa11da3a992",
"90a4745a42cff75f0b299947",
"e2b4f65102bfba3e123085a8",
"3beb97366355d11fe1f4233c",
"09a8f8d52ef4fc5fda462b0c"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": true,
"scheduled": true,
"retrySettings": {
"state": [
"success",
"error",
"error",
"error"
],
"autoRetry": true,
"limit": 20,
"delay": 1000,
"count": 5
}
}
},
"transitions": {},
"groups": [
"93ddf59557fc672a9eecdac5",
"df442b56e233bb601725147a",
"1c86f0e7fad3dde86ae1626a",
"8880fc4ccf16e73b0c1d89cf",
"3b448df99b4b63b169b79cdd"
],
"_id": "5cb7b531d06cceb89fd21b1c",
"description": null,
"preAutomationTime": 5000,
"font_size": 12,
"created": "1985-09-25T06:41:13.108Z",
"created_by": "ad922555d13b73229f1033ed",
"last_updated": "1985-05-15T03:02:00.049Z",
"last_updated_by": "c9e26aef4dc9af3660fd7774",
"lastUpdatedVersion": "consectetur do elit occaecat aliquip",
"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"
]