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": "cupidatat aliqua",
"description": "aute ut velit consectetur sunt",
"app": "aliqua consectetur do ipsum",
"variables": {
"error": ""
},
"groups": [
"0c1ac3b8cfc7b893f23d441e",
"fdca13a75bd49382e0b4ee84"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": false,
"scheduled": false,
"retrySettings": {
"state": [
"error",
"success"
],
"autoRetry": false,
"limit": 10,
"delay": 1000,
"count": 5
}
}
},
"transitions": {},
"groups": [
"810c2cb70a104e6c6872c632",
"4c7b86640bd9cfa76425b67e",
"ade0c79f8f9182699db7e930",
"d3686dbda821df68ee4fb217",
"00b073762b9aeb8dec492099"
],
"_id": "4321abcdef694aa79dae47ad",
"description": null,
"preAutomationTime": 250000,
"font_size": 12,
"created": "2006-04-01T11:59:24.052Z",
"created_by": "754bb74b2ced11b42082fa40",
"last_updated": "1980-12-02T22:58:33.37Z",
"last_updated_by": "eeddea1fc6e70d9915fc3586",
"lastUpdatedVersion": "id Duis aliqua",
"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",
"cd34"
]