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

schema.states.defaultstate.json Maven / Gradle / Ivy

There is a newer version: 7.0.0-alpha5.1
Show newest version
{
  "type": "object",
  "javaType": "io.serverlessworkflow.api.states.DefaultState",
  "javaInterfaces": [
    "io.serverlessworkflow.api.interfaces.State"
  ],
  "description": "Default State",
  "properties": {
    "id": {
      "type": "string",
      "description": "State unique identifier",
      "minLength": 1
    },
    "name": {
      "type": "string",
      "description": "Unique name of the state",
      "minLength": 1
    },
    "type": {
      "type": "string",
      "enum": [
        "event",
        "operation",
        "switch",
        "sleep",
        "parallel",
        "subflow",
        "inject",
        "foreach",
        "callback"
      ],
      "description": "State type"
    },
    "end": {
      "$ref": "../end/end.json",
      "description": "Defines this states end"
    },
    "stateDataFilter": {
      "$ref": "../filters/statedatafilter.json",
      "description": "State data filter definition"
    },
    "metadata": {
      "$ref": "../metadata/metadata.json"
    },
    "transition": {
      "$ref": "../transitions/transition.json"
    },
    "onErrors": {
      "type": "array",
      "description": "State error handling definitions",
      "items": {
        "type": "object",
        "$ref": "../error/error.json"
      }
    },
    "compensatedBy": {
      "type": "string",
      "minLength": 1,
      "description": "Unique Name of a workflow state which is responsible for compensation of this state"
    },
    "timeouts": {
      "$ref": "../timeouts/timeoutsdef.json"
    }
  },
  "required": [
    "name",
    "type"
  ]
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy