schema.states.operationstate.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.OperationState",
"javaInterfaces": [
"io.serverlessworkflow.api.interfaces.State"
],
"description": "This state allows one or more functions to run in sequence or in parallel without waiting for any event.",
"extends": {
"$ref": "defaultstate.json"
},
"properties": {
"actionMode": {
"type": "string",
"enum": [
"sequential",
"parallel"
],
"description": "Specifies whether functions are executed in sequence or in parallel."
},
"actions": {
"type": "array",
"description": "Actions Definitions",
"items": {
"type": "object",
"$ref": "../actions/action.json"
}
},
"usedForCompensation": {
"type": "boolean",
"default": false,
"description": "If true, this state is used to compensate another state. Default is false"
}
},
"required": [
"name",
"actionMode",
"actions"
]
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy