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": "pariatur",
"description": "esse adipisicing dolor",
"app": "cupidatat non commodo",
"variables": {
"error": ""
},
"groups": [
"7e24d445c77c6f257fd4d730",
"bdb616d3d679c24dcb01f0a4",
"244cd91da11cfe34b2a21bb5",
"d3afb28df9f561cfb06d6d82"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": true,
"scheduled": false,
"retrySettings": {
"state": [
"failure",
"success",
"success",
"success"
],
"autoRetry": false,
"limit": 10,
"delay": 1000,
"count": 5
}
}
},
"transitions": {},
"groups": [
"dae97a27ada037065a088f0d",
"e3ca147f47b668d6a182bf5e",
"c3854b1a6dfdfec60df68324"
],
"_id": "4321abcdef694aa79dae47ad",
"description": "occaecat pariatur irure",
"preAutomationTime": 250000,
"font_size": 12,
"created": "2011-04-02T23:01:21.425Z",
"created_by": "e225f440dec47a838686f7ec",
"last_updated": "2000-04-28T04:39:23.0Z",
"last_updated_by": "c1fc9fc41ec9e750f76d0166",
"lastUpdatedVersion": "fugiat",
"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",
"12ab"
]