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

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

There is a newer version: 7.0.0-alpha5.1
Show newest version
{
  "type": "object",
  "javaType": "io.serverlessworkflow.api.states.EventState",
  "javaInterfaces": [
    "io.serverlessworkflow.api.interfaces.State"
  ],
  "description": "This state is used to wait for events from event sources and then to invoke one or more functions to run in sequence or in parallel.",
  "extends": {
    "$ref": "defaultstate.json"
  },
  "properties": {
    "exclusive": {
      "type": "boolean",
      "default": true,
      "description": "If true consuming one of the defined events causes its associated actions to be performed. If false all of the defined events must be consumed in order for actions to be performed"
    },
    "onEvents": {
      "type": "array",
      "description": "Define what events trigger one or more actions to be performed",
      "items": {
        "type": "object",
        "$ref": "../events/onevents.json"
      }
    }
  },
  "required": [
    "onevents"
  ]
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy