diff --git a/dsl-reference.md b/dsl-reference.md index 838a3773..8c0a5b06 100644 --- a/dsl-reference.md +++ b/dsl-reference.md @@ -1212,7 +1212,7 @@ Extensions enable the execution of tasks prior to those they extend, offering th | Property | Type | Required | Description | |----------|:----:|:--------:|-------------| -| extend | `string` | `yes` | The type of task to extend
Supported values are: `call`, `composite`, `emit`, `extension`, `for`, `listen`, `raise`, `run`, `set`, `switch`, `try`, `wait` and `all` | +| extend | `string` | `yes` | The type of task to extend
Supported values are: `call`, `sequentially`, `concurrently`, `compete`, `emit`, `extension`, `for`, `listen`, `raise`, `run`, `set`, `switch`, `try`, `wait` and `all` | | when | `string` | `no` | A runtime expression used to determine whether or not the extension should apply in the specified context | | before | [`task`](#task) | `no` | The task to execute, if any, before the extended task | | after | [`task`](#task) | `no` | The task to execute, if any, after the extended task | diff --git a/dsl.md b/dsl.md index b481d9c5..68ebad9e 100644 --- a/dsl.md +++ b/dsl.md @@ -101,7 +101,9 @@ Serverless Workflow DSL allows for defining reusable components that can be refe The Serverless Workflow DSL defines several default [task](dsl-reference.md#tasks) types that runtimes **must** implement: - [Call](dsl-reference.md#call), used to call services and/or functions. -- [Composite](dsl-reference.md#composite), used to define a minimum of two subtasks to perform. +- [Sequential](dsl-reference.md#sequential), used to define a minimum of two subtasks to perform sequentially. +- [Concurrent](dsl-reference.md#concurrent), used to define a minimum of two subtasks to perform concurrently. +- [Compete](dsl-reference.md#compete), used to define a minimum of two subtasks to perform concurrently, and to continue with the first one that completes. - [Emit](dsl-reference.md#emit), used to emit [events](dsl-reference.md#event). - [For](dsl-reference.md#for), used to iterate over a collection of items, and conditionally perform a task for each of them. - [Listen](dsl-reference.md#listen), used to listen for an [event](dsl-reference.md#event) or more. diff --git a/schema/workflow.yaml b/schema/workflow.yaml index 46b7e202..02b67ad4 100644 --- a/schema/workflow.yaml +++ b/schema/workflow.yaml @@ -780,7 +780,7 @@ $defs: properties: extend: type: string - enum: [ call, composite, emit, for, listen, raise, run, set, switch, try, wait, all ] + enum: [ call, compete, sequentially, concurrently, emit, for, listen, raise, run, set, switch, try, wait, all ] description: The type of task to extend. when: type: string