schema.states.injectstate.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.states.InjectState",
"javaInterfaces": [
"io.serverlessworkflow.api.interfaces.State"
],
"description": "Set up and inject the state's data input to data output. Does not perform any actions",
"extends": {
"$ref": "defaultstate.json"
},
"properties": {
"data": {
"type": "object",
"description": "JSON object which can be set as states data input and can be manipulated via filters",
"existingJavaType": "com.fasterxml.jackson.databind.JsonNode"
},
"usedForCompensation": {
"type": "boolean",
"default": false,
"description": "If true, this state is used to compensate another state. Default is false"
}
},
"required": [
"inject"
]
}