All Downloads are FREE. Search and download functionalities are using the official Maven repository.

schema.error.error.json Maven / Gradle / Ivy

There is a newer version: 7.0.0-alpha2
Show newest version
{
  "type": "object",
  "javaType": "io.serverlessworkflow.api.error.Error",
  "properties": {
    "errorRef": {
      "type": "string",
      "description": "Reference to a unique workflow error definition. Used of errorRefs is not used",
      "minLength": 1
    },
    "errorRefs": {
      "type": "array",
      "description": "References one or more workflow error definitions. Used if errorRef is not used",
      "minItems": 1,
      "items": {
        "type": "string"
      }
    },
    "transition": {
      "$ref": "../transitions/transition.json",
      "description": "Transition to next state to handle the error. If retryRef is defined, this transition is taken only if retries were unsuccessful."
    },
    "end": {
      "description": "End workflow execution in case of this error. If retryRef is defined, this ends workflow only if retries were unsuccessful.",
      "$ref": "../end/end.json"
    }
  },
  "required": [
    "error",
    "transition"
  ]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy