
schema.states.parallelstate.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.ParallelState",
"javaInterfaces": [
"io.serverlessworkflow.api.interfaces.State"
],
"description": "Consists of a number of states that are executed in parallel",
"extends": {
"$ref": "defaultstate.json"
},
"properties": {
"branches": {
"type": "array",
"description": "Branch Definitions",
"items": {
"type": "object",
"$ref": "../branches/branch.json"
}
},
"completionType": {
"type" : "string",
"enum": ["and", "xor", "n_of_m"],
"description": "Option types on how to complete branch execution.",
"default": "and"
},
"n": {
"type": "string",
"default": "0",
"description": "Used when completionType is set to 'n_of_m' to specify the 'N' value"
}
},
"required": [
"branches"
]
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy