Skip to content

Commit

Permalink
docs: update DSL reference
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Pichler <m.pichler@warrify.com>
  • Loading branch information
matthias-pichler committed Aug 29, 2024
1 parent 846727d commit 74b87aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dsl-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -977,7 +977,7 @@ Defines a switch case, encompassing a condition for matching and an associated a

| Name | Type | Required | Description |
|:--|:---:|:---:|:---|
| when | `string` | `no` | A runtime expression used to determine whether or not the case matches.<br>*If not set, the case will be matched by default if no other case match.*<br>*Note that there can be only one default case, all others **MUST** set a condition.*
| when | `string` | `yes` | A runtime expression used to determine whether or not the case matches.<br>*To define a default case, use the task level `then` property, which will be used when no task matches.* |
| then | [`flowDirective`](#flow-directive) | `yes` | The flow directive to execute when the case matches. |

#### Try
Expand Down

0 comments on commit 74b87aa

Please sign in to comment.