You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by fj...@apache.org on 2024/05/30 10:41:55 UTC

(incubator-kie-kogito-docs) branch Fixing-format-issue-on-jq-doc created (now cc11f00d9)

This is an automated email from the ASF dual-hosted git repository.

fjtiradosarti pushed a change to branch Fixing-format-issue-on-jq-doc
in repository https://gitbox.apache.org/repos/asf/incubator-kie-kogito-docs.git


      at cc11f00d9 Fixing formatting issues

This branch includes the following new commits:

     new cc11f00d9 Fixing formatting issues

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


(incubator-kie-kogito-docs) 01/01: Fixing formatting issues

Posted by fj...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

fjtiradosarti pushed a commit to branch Fixing-format-issue-on-jq-doc
in repository https://gitbox.apache.org/repos/asf/incubator-kie-kogito-docs.git

commit cc11f00d9e7e2559af53b529a820e1d310067ff9
Author: Francisco Javier Tirado Sarti <65...@users.noreply.github.com>
AuthorDate: Thu May 30 12:41:52 2024 +0200

    Fixing formatting issues
---
 .../pages/core/understanding-jq-expressions.adoc     | 20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)

diff --git a/serverlessworkflow/modules/ROOT/pages/core/understanding-jq-expressions.adoc b/serverlessworkflow/modules/ROOT/pages/core/understanding-jq-expressions.adoc
index 53ec1ede3..4bc255bcd 100644
--- a/serverlessworkflow/modules/ROOT/pages/core/understanding-jq-expressions.adoc
+++ b/serverlessworkflow/modules/ROOT/pages/core/understanding-jq-expressions.adoc
@@ -214,9 +214,10 @@ You can find an example of event data filtering in the link:{kogito_sw_examples_
 ----
 
 The previous example of the event filter copies the content of CloudEvent data `result` field into the workflow model `move` field.
+--
 
 [[ref-example-jq-expression-event-publishing]]
-== Example of jq expressions in event publishing. 
+== Example of jq expressions in event publishing
 
 When publishing a Cloud Event, you can select the data that is being published using a jq expression that generates a JSON object. Note that in yaml double quotes are required to allow using `{}` characters. 
 
@@ -237,7 +238,7 @@ In the previous example, a CloudEvent was published when the state transitioned.
 ----
 data={"gitRepo":"ssh://bitbucket.org/m2k-test","branch":"aaaaaaasssss","token":null,"workspaceId":"b93980cb-3943-4223-9441-8694c098eeb9","projectId":"9b305fe3-d441-48ce-b01b-d314e86e14ec","transformId":"723dce89-c25c-4c7b-9ef3-842de92e6fe6","workflowCallerId":"7ddb5193-bedc-4942-a857-596b31f377ed"}
 ----
---
+
 
 == Workflow secrets, constants and context
 
@@ -264,14 +265,15 @@ So, assuming you have added to your `application.properties` a line with the `my
 
 Besides constants and secrets, you might access contextual information of the running workflow by using the $WORKFLOW reserved word.
 {product_name} supports the following contextual keys:
- * `id`: The id of the running workflow definition
- * `name`: The name of the running workflow definition
- * `instanceId`: The id of the running workflow instance
- * `headers`: Optional map containing the headers, if any, of the invocation that started the running workflow instance 
- * `prevActionResult`: In a `foreach` state using multiple actions per loop cycle, give access to the result of the previous action. See link:{kogito_sw_examples_url}/serverless-workflow-foreach-quarkus/src/main/resources/foreach.sw.json#L11[example]
- * `identity`: Quarkus security identity
+
+* `id`: The id of the running workflow definition
+* `name`: The name of the running workflow definition
+* `instanceId`: The id of the running workflow instance
+* `headers`: Optional map containing the headers, if any, of the invocation that started the running workflow instance 
+* `prevActionResult`: In a `foreach` state using multiple actions per loop cycle, give access to the result of the previous action. See link:{kogito_sw_examples_url}/serverless-workflow-foreach-quarkus/src/main/resources/foreach.sw.json#L11[example]
+* `identity`: Quarkus security identity
  
- Therefore, the following function, for a serverless workflow definition whose id  is `expressionTest`, will append the string `worklow id is expressionTest` to the `message` variable
+Therefore, the following function, for a serverless workflow definition whose id is `expressionTest`, will append the string `worklow id is expressionTest` to the `message` variable
 
 ----
 {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org