Skip to content

Commit 7d9807c

Browse files
fix: update extend property
1 parent 801ee2a commit 7d9807c

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

dsl-reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1212,7 +1212,7 @@ Extensions enable the execution of tasks prior to those they extend, offering th
12121212

12131213
| Property | Type | Required | Description |
12141214
|----------|:----:|:--------:|-------------|
1215-
| extend | `string` | `yes` | The type of task to extend<br>Supported values are: `call`, `composite`, `emit`, `extension`, `for`, `listen`, `raise`, `run`, `set`, `switch`, `try`, `wait` and `all` |
1215+
| extend | `string` | `yes` | The type of task to extend<br>Supported values are: `call`, `sequentially`, `concurrently`, `compete`, `emit`, `extension`, `for`, `listen`, `raise`, `run`, `set`, `switch`, `try`, `wait` and `all` |
12161216
| when | `string` | `no` | A runtime expression used to determine whether or not the extension should apply in the specified context |
12171217
| before | [`task`](#task) | `no` | The task to execute, if any, before the extended task |
12181218
| after | [`task`](#task) | `no` | The task to execute, if any, after the extended task |

dsl.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,9 @@ Serverless Workflow DSL allows for defining reusable components that can be refe
101101
The Serverless Workflow DSL defines several default [task](dsl-reference.md#tasks) types that runtimes **must** implement:
102102

103103
- [Call](dsl-reference.md#call), used to call services and/or functions.
104-
- [Composite](dsl-reference.md#composite), used to define a minimum of two subtasks to perform.
104+
- [Sequential](dsl-reference.md#sequential), used to define a minimum of two subtasks to perform sequentially.
105+
- [Concurrent](dsl-reference.md#concurrent), used to define a minimum of two subtasks to perform concurrently.
106+
- [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.
105107
- [Emit](dsl-reference.md#emit), used to emit [events](dsl-reference.md#event).
106108
- [For](dsl-reference.md#for), used to iterate over a collection of items, and conditionally perform a task for each of them.
107109
- [Listen](dsl-reference.md#listen), used to listen for an [event](dsl-reference.md#event) or more.

schema/workflow.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -780,7 +780,7 @@ $defs:
780780
properties:
781781
extend:
782782
type: string
783-
enum: [ call, composite, emit, for, listen, raise, run, set, switch, try, wait, all ]
783+
enum: [ call, compete, sequentially, concurrently, emit, for, listen, raise, run, set, switch, try, wait, all ]
784784
description: The type of task to extend.
785785
when:
786786
type: string

0 commit comments

Comments
 (0)