You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by ri...@apache.org on 2023/12/05 12:40:59 UTC
(incubator-kie-kogito-docs) branch main updated: SRVLOGIC-83: Remove "Kogito" name from Serverless Logic documents (#496)
This is an automated email from the ASF dual-hosted git repository.
ricardozanini pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-kie-kogito-docs.git
The following commit(s) were added to refs/heads/main by this push:
new e1aa1cc58 SRVLOGIC-83: Remove "Kogito" name from Serverless Logic documents (#496)
e1aa1cc58 is described below
commit e1aa1cc5824197c5f9a2fd7fc5887b4f4cdbbaed
Author: Kalyani Desai <43...@users.noreply.github.com>
AuthorDate: Tue Dec 5 18:10:53 2023 +0530
SRVLOGIC-83: Remove "Kogito" name from Serverless Logic documents (#496)
* SRVLOGIC-83-main: Changed the title name just to create a PR
* Update serverlessworkflow/modules/ROOT/pages/core/custom-functions-support.adoc
Co-authored-by: Kris Verlaenen <kr...@gmail.com>
---------
Co-authored-by: Kalyani Desai <ka...@kaldesai.pnq.csb>
Co-authored-by: Dominik HanĂ¡k <do...@users.noreply.github.com>
Co-authored-by: Kris Verlaenen <kr...@gmail.com>
---
.../modules/ROOT/pages/core/custom-functions-support.adoc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/serverlessworkflow/modules/ROOT/pages/core/custom-functions-support.adoc b/serverlessworkflow/modules/ROOT/pages/core/custom-functions-support.adoc
index b9bd367b5..48668ad7c 100644
--- a/serverlessworkflow/modules/ROOT/pages/core/custom-functions-support.adoc
+++ b/serverlessworkflow/modules/ROOT/pages/core/custom-functions-support.adoc
@@ -33,7 +33,7 @@ You can use the `sysout` function for logging as shown in the following example:
}
----
-The string after the `:` is optional and is used to indicate the log level. The possible values are TRACE, DEBUG, INFO, WARN, and ERROR. If not present, INFO is considered by default.
+The string after the `:` is optional and is used to indicate the log level. The possible values are TRACE, DEBUG, INFO, WARN, and ERROR. If not present, INFO is considered by default.
In the `state` definition, you can call the same `sysout` function as shown in the following example:
@@ -162,7 +162,7 @@ If your method returns a primitive type or their corresponding wrapper object (i
If your method returns Java collections, it is converted to a JSON array and added to the workflow model with the name `response` (you can change that name using an action data filter).
-=== Function accessing Kogito context
+=== Function accessing contextual data
If you need access to process contextual information (for example, Kogito process instance ID) inside your Java service, you can add a `KogitoProcessContext` parameter as the last one in the method signature.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org