Summary
Validate a workflow
Description
Validate a workflow, and return the resulting errors and warnings arrays.
Route
POST /automation-studio/workflows/validate
Roles
admin
engineering
support
apiread
apiwrite
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
workflow |
object |
yes |
The workflow to validate |
Copied to Clipboard
{
"workflow": {
"name": "My Workflow",
"type": "automation",
"tasks": {
"workflow_start": {
"name": "workflow_start",
"summary": "workflow_start",
"groups": [
{
"name": "minim occaecat",
"provenance": "nostrud in anim exercitation consequat"
},
{
"name": "sunt est ad",
"provenance": "eiusmod nulla commodo Excepteur"
},
{
"name": "et in in dolore",
"provenance": "commodo in sunt veniam"
},
{
"name": "magna pariatur",
"provenance": "in"
}
],
"gridCoordinate": {
"x": 10914422.439204112,
"y": 64366732.26509932
}
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [
{
"name": "incididunt",
"provenance": "Duis consequat eu eiusmod reprehenderit"
}
],
"gridCoordinate": {
"x": -70127777.44020142,
"y": 88968089.79339021
}
},
"error_handler": {
"name": "childJob",
"summary": "nisi in culpa fugiat",
"description": "exercitation veniam cupidatat dolor",
"app": "reprehenderit dolore nisi in",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~1/VI/A/~0/~1/~1"
},
{
"type": "encryption",
"pointer": "/~1/MNLcz8KLq/wo-2-jjL-NX/~0/O"
},
{
"type": "encryption",
"pointer": "/~1/~1/~1/YQ4AEaqp/zoR/~1/~0/~0/RG91eQV6/ly+S"
}
]
},
"groups": [
{
"name": "mollit dolor ea sit",
"provenance": "dolor"
},
{
"name": "commodo cillum sint in aliquip",
"provenance": "fugiat dolore"
},
{
"name": "do veniam",
"provenance": "sint exercitation nostrud ad nulla"
},
{
"name": "sint elit Excepteur ad est",
"provenance": "anim in eu"
}
],
"type": "operation",
"x": 79605691.1481303,
"y": 24742089.92547378,
"deprecated": true,
"scheduled": true
}
},
"transitions": {},
"groups": [
{
"name": "velit pariatur irure aliqua enim",
"provenance": "in Duis ut Ut"
},
{
"name": "incididunt magna sed",
"provenance": "velit in aliqua eu enim"
},
{
"name": "labore ut",
"provenance": "quis dolore aute Ut sunt"
},
{
"name": "incididunt aliqua",
"provenance": "Excepteur qui aute"
},
{
"name": "officia",
"provenance": "in aute reprehenderit nulla"
}
],
"_id": "fe8f3873-98b3-02bf-2fec-74ccc414f553",
"namespace": null,
"description": null,
"preAutomationTime": -6086018.946391687,
"sla": 57808208.33634284,
"errorHandler": null,
"font_size": 12,
"created": "2014-01-23T04:27:16.394Z",
"created_by": null,
"createdVersion": "ea et qui in",
"last_updated": "1965-08-05T04:35:55.658Z",
"last_updated_by": {
"username": "cupidatat incididunt ea in quis",
"provenance": "consectetur fugiat"
},
"lastUpdatedVersion": "ullamco sunt ipsum",
"tags": [
{
"_id": "3ee666b8EfceaCeBeE6FdED1",
"name": "ullamco ex et dolor labore",
"description": "ad veniam consequat aliqua et"
}
],
"canvasVersion": 3,
"encodingVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/Y/oOPePHO,1/~0/J/JgjkCH07/~1/~1/~0/~1"
},
{
"type": "encryption",
"pointer": "/~1/KR"
}
],
"migrationVersion": 38774590
}
}
Copied to Clipboard
{
"type": "object",
"properties": {
"workflow": {
"title": "workflow",
"$ref": "workflowDocumentAll"
}
},
"required": [
"workflow"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
validationResult |
object |
Errors and warnings output from the validation process |
Copied to Clipboard
{
"errors": [],
"warnings": []
}
Copied to Clipboard
{
"type": "object",
"title": "validationResult",
"properties": {
"errors": {
"type": "array",
"items": {
"type": "object"
}
},
"warnings": {
"type": "array",
"items": {
"type": "object"
}
}
}
}