All Downloads are FREE. Search and download functionalities are using the official Maven repository.

schema.states.parallelstate.json Maven / Gradle / Ivy

There is a newer version: 7.0.0-alpha5.1
Show newest version
{
  "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