schema.events.eventref.json Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of serverlessworkflow-api Show documentation
Show all versions of serverlessworkflow-api Show documentation
Java SDK for Serverless Workflow Specification
{
"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