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

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

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