kaldesai commented on code in PR #582:
URL: 
https://github.com/apache/incubator-kie-kogito-docs/pull/582#discussion_r1522590560


##########
serverlessworkflow/modules/ROOT/pages/core/understanding-jq-expressions.adoc:
##########
@@ -13,10 +13,27 @@ Each workflow instance is associated with a data model. A 
data model consists of
 
 The workflow expressions in the 
link:{spec_doc_url}#workflow-expressions[Serverless Workflow specification] are 
used to interact with the data model. The supported expression languages 
include link:{jsonpath_url}[JsonPath] and link:{jq_url}[jq]. jq expression 
language is the default language. However, you can change the expression 
language to JsonPath using the `expressionLang` property. 
 
-This document describes the usage of jq expressions in switch state 
conditions, action function arguments, and data filtering. 
+This document describes the usage of jq expressions in functions, switch state 
conditions, action function arguments, data filtering, and event publishing. 
 
 JQ expression might be tricky to master, for non trivial cases, it is 
recommended to use helper tools like link:{jq_play}[JQ Play] to validate the 
expression before including it in the workflow file. 
 
+[[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 with any other function, the result of the expression 
evaluation will be merged into the model

Review Comment:
   ```suggestion
   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.
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to