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": "magna eu non elit ut",
"description": "eiusmod ut velit nostrud",
"app": "cillum non minim velit",
"variables": {
"error": ""
},
"groups": [
"987f533c1ce650554f956dbf",
"ac1e52f30d54778ed1d2b020",
"faa272bf9ddc8c192d5acc34",
"8396235c7d0f624d37ab86fc"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": true,
"scheduled": true
}
},
"transitions": {},
"groups": [
"3f8d672114f29ad434dfe57b",
"9ddb7bb5633c30d4b6cdda3c",
"7dc1d99085be4ab8dc39385c",
"c9775b752a7d283e32178dad",
"237f75e21c23a471c52f3f1a"
],
"_id": "4321abcdef694aa79dae47ad",
"description": "veniam aute ea",
"font_size": 12,
"created": "1999-09-06T16:45:55.212Z",
"created_by": "b19e0d6ee7963f07fb9da4f5",
"last_updated": "1986-05-30T17:39:14.388Z",
"last_updated_by": "6ed08b0211f3480953feb119",
"lastUpdatedVersion": "Excepteur",
"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"
]