schema.states.defaultstate.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.DefaultState",
"javaInterfaces": [
"io.serverlessworkflow.api.interfaces.State"
],
"description": "Default State",
"properties": {
"id": {
"type": "string",
"description": "State unique identifier",
"minLength": 1
},
"name": {
"type": "string",
"description": "Unique name of the state",
"minLength": 1
},
"type": {
"type": "string",
"enum": [
"event",
"operation",
"switch",
"sleep",
"parallel",
"subflow",
"inject",
"foreach",
"callback"
],
"description": "State type"
},
"end": {
"$ref": "../end/end.json",
"description": "Defines this states end"
},
"stateDataFilter": {
"$ref": "../filters/statedatafilter.json",
"description": "State data filter definition"
},
"metadata": {
"$ref": "../metadata/metadata.json"
},
"transition": {
"$ref": "../transitions/transition.json"
},
"onErrors": {
"type": "array",
"description": "State error handling definitions",
"items": {
"type": "object",
"$ref": "../error/error.json"
}
},
"compensatedBy": {
"type": "string",
"minLength": 1,
"description": "Unique Name of a workflow state which is responsible for compensation of this state"
},
"timeouts": {
"$ref": "../timeouts/timeoutsdef.json"
}
},
"required": [
"name",
"type"
]
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy