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": "officia",
"description": "esse dolor cillum in",
"app": "aliqua dolore",
"variables": {
"error": ""
},
"groups": [
"bfd042f29fb5df648486cc64",
"200a497796423688491a50da"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": false,
"scheduled": true,
"retrySettings": {
"state": [
"error"
],
"autoRetry": false,
"limit": 20,
"delay": 2000,
"count": 5
}
}
},
"transitions": {},
"groups": [
"dcf46e5a06b727265d54c64f",
"35a837ec7fba590c65787def",
"38133a0c4c68702659224dd8",
"cbd93ac2408b5e1df1859ebb",
"0e1b4d14dc93e2aee5798607"
],
"_id": "4321abcdef694aa79dae47ad",
"description": null,
"preAutomationTime": 250000,
"font_size": 12,
"created": "1945-06-16T02:27:01.165Z",
"created_by": "cf5324e2fd2ae9d1c8e0c3c0",
"last_updated": "1948-05-05T15:20:50.176Z",
"last_updated_by": "4b81cf29f80e985ede909018",
"lastUpdatedVersion": "ea dolore Duis",
"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"
]