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

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

{
  "type": "object",
  "javaType": "io.serverlessworkflow.api.states.CallbackState",
  "javaInterfaces": [
    "io.serverlessworkflow.api.interfaces.State"
  ],
  "description": "This state is used to wait for events from event sources and then transitioning to a next state",
  "extends": {
    "$ref": "defaultstate.json"
  },
  "properties": {
    "action": {
      "description": "Defines the action to be executed",
      "$ref": "../actions/action.json"
    },
    "eventRef": {
      "type" : "string",
      "description": "References an unique callback event name in the defined workflow events"
    },
    "eventDataFilter": {
      "description": "Callback event data filter definition",
      "$ref": "../filters/eventdatafilter.json"
    },
    "usedForCompensation": {
      "type": "boolean",
      "default": false,
      "description": "If true, this state is used to compensate another state. Default is false"
    }
  },
  "required": [
  ]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy