Skip to content

Commit

Permalink
Update docs/pipelines.md
Browse files Browse the repository at this point in the history
Co-authored-by: Jerop Kipruto <[email protected]>
  • Loading branch information
Yongxuanzhang and jerop authored Oct 23, 2023
1 parent 531fbdd commit 8945df9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/pipelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8945df9

Please sign in to comment.