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

schema.events.eventref.json Maven / Gradle / Ivy

There is a newer version: 7.0.0-alpha5.1
Show newest version
{
  "type": "object",
  "javaType": "io.serverlessworkflow.api.events.EventRef",
  "description": "Event References",
  "properties": {
    "triggerEventRef": {
      "type": "string",
      "description": "Reference to the unique name of a 'produced' event definition"
    },
    "resultEventRef": {
      "type": "string",
      "description": "Reference to the unique name of a 'consumed' event definition"
    },
    "resultEventTimeout": {
      "type": "string",
      "description": "Maximum amount of time (ISO 8601 format) to wait for the result event. If not defined it should default to the actionExecutionTimeout"
    },
    "data": {
      "type": "string",
      "description": "Expression which selects parts of the states data output to become the data of the produced event."
    },
    "contextAttributes": {
      "existingJavaType": "java.util.Map",
      "type": "object",
      "description": "Add additional extension context attributes to the produced event"
    },
    "invoke": {
      "type": "string",
      "enum": [
        "sync",
        "async"
      ],
      "description": "Specifies if the function should be invoked sync or async. Default is sync.",
      "default": "sync"
    }
  },
  "required": [
    "triggerEventRef",
    "resultEventRef"
  ]
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy