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

schema.functions.subflowref.json Maven / Gradle / Ivy

There is a newer version: 7.0.0-alpha5.1
Show newest version
{
  "type": "object",
  "javaType": "io.serverlessworkflow.api.functions.SubFlowRef",
  "properties": {
    "workflowId": {
      "type": "string",
      "description": "Unique id of the sub-workflow to be invoked"
    },
    "version": {
      "type": "string",
      "description": "Version of the sub-workflow to be invoked",
      "minLength": 1
    },
    "onParentComplete": {
      "type": "string",
      "enum": [
        "continue",
        "terminate"
      ],
      "description": "If invoke is 'async', specifies how subflow execution should behave when parent workflow completes. Default is 'terminate'",
      "default": "terminate"
    },
    "invoke": {
      "type": "string",
      "enum": [
        "sync",
        "async"
      ],
      "description": "Specifies if the function should be invoked sync or async. Default is sync.",
      "default": "sync"
    }
  },
  "required": [
    "workflowId"
  ]
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy