Summary
          Validate a workflow
          Description
          Validate a workflow, and return the resulting errors and warnings arrays.
          Route
          POST /workflow_engine/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": [],
        "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": "qui officia labore proident",
        "description": "ea labore anim",
        "app": "cupidatat dolore in pariatur aute",
        "variables": {
          "error": ""
        },
        "groups": [
          "25492d1cebaec832d333facb",
          "c7a21782f264840be7726508",
          "498f65684e24a9ac7784f725",
          "9ac86220f65ca882748ff394"
        ],
        "x": 0.36142061281337046,
        "y": 0.502092050209205,
        "type": "operation",
        "deprecated": true,
        "scheduled": false,
        "retrySettings": {
          "state": [
            "success"
          ],
          "autoRetry": false,
          "limit": 10,
          "delay": 2000,
          "count": 5
        }
      }
    },
    "transitions": {},
    "groups": [
      "8b776342b9202f6c8013c63e",
      "1ff078332a0d7ad53242af5c"
    ],
    "_id": "5cb7b531d06cceb89fd21b1c",
    "description": "enim in sit irure culpa",
    "preAutomationTime": 250000,
    "font_size": 12,
    "created": "1981-05-16T12:10:07.469Z",
    "created_by": "95e8acffc7d818c2de881abb",
    "last_updated": "2006-06-01T10:58:36.492Z",
    "last_updated_by": "e6494c220f9b588c48d09cdc",
    "lastUpdatedVersion": "voluptate eu consequat cillum",
    "tags": [],
    "canvasVersion": 1
  }
}
           
          
            Copied to Clipboard
            
            {
  "type": "object",
  "properties": {
    "workflow": {
      "$ref": "workflowDocument"
    }
  },
  "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",
  "properties": {
    "errors": {
      "type": "array"
    },
    "warnings": {
      "type": "array"
    }
  }
}