Skip to main content
Version: 5.3.0.0

syslog message

Description

An intermediate event doesn't allow to retry an activity nor is it possible to attach an error handling. Therefore, there is a second possibility to send syslog messages from a Process Model using the scriptlet Syslog message.

Create

See creation of Scriptlet.

Configuration

Properties and Parameter assignment

The scriptlet has basically four parameters:

  1. The parameter logLevel has eight possible values: EMERGENCY, ALERT, CRITICAL, ERROR, WARN, NOTICE, INFO, DEBUG. Normally you should use ERROR, WARN, NOTICE or INFO.

2.The parameter message is a String containing the actual message.

3.The parameter PROCID might be used to group messages belonging together. Typically, we add here an invocation of soffico.customerapi.process.ProcessAdapter.obtainGlobalSessionIdentifier(). This method returns a global session id which identifies all activities executed while handling a particular transaction.

4.The Parameter syslogTargetNames may be empty or a comma separated sequence of syslog target names. If the parameter is empty the syslog message is sent to all activated syslog receivers.