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 in",
"description": "magna",
"app": "esse aute sint",
"variables": {
"error": ""
},
"groups": [
"e59f0b4a256ec339da065987",
"7eeafe028875fefbc5153df3",
"d3327dcda5efc79e6f155a9a",
"5054eb4a4bc9a1df08e2061b",
"4ed64ff98f932314aca84455"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": true,
"scheduled": false
}
},
"transitions": {},
"groups": [
"78678afa5303161c0603b1ef",
"65d53c8ac52676f6e7dffdf1"
],
"_id": "4321abcdef694aa79dae47ad",
"description": null,
"font_size": 12,
"created": "1976-02-06T05:01:25.602Z",
"created_by": "ebc5f78afd2c34fb35c7ecaf",
"last_updated": "1948-03-22T07:52:57.394Z",
"last_updated_by": "b8e3abd1ab3651d68f8227f7",
"lastUpdatedVersion": "Excepteur aliqua Ut minim",
"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",
"cd34",
"12ab",
"12ab",
"12ab"
]