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": "Ut Excepteur deserunt",
"description": "laborum enim ad",
"app": "officia ut reprehenderit occaecat do",
"variables": {
"error": ""
},
"groups": [
"a2d2fd12a3133189ac5ac4d6",
"93522247fb94e3f25925c784",
"f54b0d733e0e798e7ca08141"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": false,
"scheduled": false,
"retrySettings": {
"state": [
"error"
],
"autoRetry": false,
"limit": 10,
"delay": 1000,
"count": 5
}
}
},
"transitions": {},
"groups": [
"4b27ad781ea09840879f6a66",
"aaa93d1e4c90dd2f4fee4866",
"7188666492eb724bc4a1b45b"
],
"_id": "4321abcdef694aa79dae47ad",
"description": null,
"preAutomationTime": 250000,
"font_size": 12,
"created": "1984-06-27T13:07:50.658Z",
"created_by": "ed94aa9f9ed5bd3095edf688",
"last_updated": "2006-09-02T21:46:33.282Z",
"last_updated_by": "c39e94dbf24d71408cfc8d29",
"lastUpdatedVersion": "eu ut ad consectetur Ut",
"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",
"cd34",
"12ab",
"cd34"
]