schema.states.sleepstate.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.SleepState",
"javaInterfaces": [
"io.serverlessworkflow.api.interfaces.State"
],
"description": "This state is used to wait for events from event sources and then transitioning to a next state",
"extends": {
"$ref": "defaultstate.json"
},
"properties": {
"duration": {
"type": "string",
"description": "Duration (ISO 8601 duration format) to sleep"
},
"usedForCompensation": {
"type": "boolean",
"default": false,
"description": "If true, this state is used to compensate another state. Default is false"
}
},
"required": [
"duration"
]
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy