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": "dolore",
"description": "consequat ex in sed",
"app": "commodo Ut fugiat",
"variables": {
"error": ""
},
"groups": [
"909cafe883ea3bca375eb206"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": true,
"scheduled": false,
"retrySettings": {
"state": [
"success",
"success"
],
"autoRetry": false,
"limit": 20,
"delay": 2000,
"count": 5
}
}
},
"transitions": {},
"groups": [
"0fcfcba3c75456938d308e48",
"18d1fac3292a756be96c0f78",
"308e575bdc02b13c83d260cb",
"72f364711db5b154f738264d",
"21f9d9ec18a9922b94581b03"
],
"_id": "4321abcdef694aa79dae47ad",
"description": null,
"preAutomationTime": 250000,
"font_size": 12,
"created": "1991-05-04T14:03:39.166Z",
"created_by": "b20843d2b15c3f4ef3889f46",
"last_updated": "1948-12-19T01:56:03.743Z",
"last_updated_by": "000f55f3b838bd5dd6865e27",
"lastUpdatedVersion": "ad incididunt et pariatur",
"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",
"12ab",
"12ab"
]