Skip to content

Commit

Permalink
SRVLOGIC-83: Remove "Kogito" name from Serverless Logic documents (#496)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>

---------

Co-authored-by: Kalyani Desai <[email protected]>
Co-authored-by: Dominik Hanák <[email protected]>
Co-authored-by: Kris Verlaenen <[email protected]>
  • Loading branch information
4 people authored Dec 5, 2023
1 parent 2f15b80 commit e1aa1cc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down Expand Up @@ -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.

Expand Down

0 comments on commit e1aa1cc

Please sign in to comment.