Skip to content

Commit

Permalink
Update serverlessworkflow/modules/ROOT/pages/core/understanding-jq-ex…
Browse files Browse the repository at this point in the history
…pressions.adoc

Co-authored-by: Ricardo Zanini <[email protected]>
  • Loading branch information
fjtirado and ricardozanini authored Mar 12, 2024
1 parent 044f368 commit b6a0a09
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ JQ expression might be tricky to master, for non trivial cases, it is recommende
[[ref-example-jq-expression-function]]
== Example of jq expression in functions

Expressions can be used in functions of type `expression` to manipulate the workflow model. As any other function the result of the expression evaluation will be merged into the model
Expressions can be used in functions of type `expression` to manipulate the workflow model. As with any other function, the result of the expression evaluation will be merged into the model

For example, in the link:{kogito_sw_examples_url}/serverless-workflow-expression-quarkus[`serverless-workflow-expression-quarkus`] example application, a max function adds to the model two properties: `max`, containing the maximum value of `x` coordinate in the `numbers` array (which is a workflow input parameter) and `min`, containing the minimum value of `y` coordinate

Expand Down

0 comments on commit b6a0a09

Please sign in to comment.