Skip to content

Commit

Permalink
fix: update extend property
Browse files Browse the repository at this point in the history
  • Loading branch information
matthias-pichler committed Jun 4, 2024
1 parent 801ee2a commit 7d9807c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dsl-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -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<br>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<br>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 |
Expand Down
4 changes: 3 additions & 1 deletion dsl.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion schema/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7d9807c

Please sign in to comment.