From 8945df9dee77d9b00db83d427c574959f66880ab Mon Sep 17 00:00:00 2001 From: Yongxuan Zhang <44033547+Yongxuanzhang@users.noreply.github.com> Date: Mon, 23 Oct 2023 17:26:51 -0400 Subject: [PATCH] Update docs/pipelines.md Co-authored-by: Jerop Kipruto --- docs/pipelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/pipelines.md b/docs/pipelines.md index c95f8aef6e5..a39ff748fa7 100644 --- a/docs/pipelines.md +++ b/docs/pipelines.md @@ -782,7 +782,7 @@ There are a lot of scenarios where `when` expressions can be really useful. Some CEL (Common Expression Language) is a declarative language designed for simplicity, speed, safety, and portability which can be used to express a wide variety of conditions and computations. -You can define a CEL expression in `WhenExpression` to guard the execution of a `Task`. You can use a single line of CEL string to replace current `WhenExpressions`'s `input`+`operator`+`values`. For example: +You can define a CEL expression in `WhenExpression` to guard the execution of a `Task`. The CEL expression must evaluate to either `true` or `false`. You can use a single line of CEL string to replace current `WhenExpressions`'s `input`+`operator`+`values`. For example: ```yaml # current WhenExpressions