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

schema.actions.action.json Maven / Gradle / Ivy

There is a newer version: 7.0.0-alpha5.1
Show newest version
{
  "type": "object",
  "javaType": "io.serverlessworkflow.api.actions.Action",
  "description": "Action Definition",
  "properties": {
    "name": {
      "type": "string",
      "description": "Unique action definition name"
    },
    "functionRef": {
      "description": "References a reusable function definition to be invoked",
      "$ref": "../functions/functionref.json"
    },
    "eventRef": {
      "description": "References a 'trigger' and 'result' reusable event definitions",
      "$ref": "../events/eventref.json"
    },
    "timeout": {
      "type": "string",
      "description": "Time period to wait for function execution to complete"
    },
    "actionDataFilter": {
      "$ref": "../filters/actiondatafilter.json"
    }
  },
  "oneOf": [
    {
      "required": [
        "functionRef"
      ]
    },
    {
      "required": [
        "eventRef"
      ]
    }
  ]
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy