From 74b87aa39193b0b395b903d2ac2569dd2c043dcf Mon Sep 17 00:00:00 2001 From: Matthias Pichler Date: Thu, 29 Aug 2024 15:17:37 +0000 Subject: [PATCH] docs: update DSL reference Signed-off-by: Matthias Pichler --- dsl-reference.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dsl-reference.md b/dsl-reference.md index 8595ed3e..6a5a7681 100644 --- a/dsl-reference.md +++ b/dsl-reference.md @@ -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.
*If not set, the case will be matched by default if no other case match.*
*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.
*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