You can initiate custom logging and alert entries from a Business Process modeling element. These entries can then be viewed in the logging and alerts pages for the Business Process in Enterprise Manager.
Java CAPS allows you to initiate alert entries from a Business Process element. You can define the following types of alerts (from most to least severe): critical, major, minor, warning, and information. The alert nodes take a Boolean data type, but you can specify that the data types be automatically converted when you define the mapping.
Open the Business Process containing the element to which you want to add an alert entry.
In the Business Process Designer, select the element.
In the Business Process Designer toolbar, click Property Sheet.
The properties for the element appear to the right of the Business Process.
Click in the Alert Properties field, and then click the ellipsis (...).
The Specify Alerts dialog box appears.
Define the alert using the available methods.
When you are finished defining the alert, click OK.
Java CAPS allows you to initiate logging entries from a Business Process element. You specify one of the log4j log levels: FATAL, ERROR, WARN, INFO, or DEBUG. When you view the log entries in Enterprise Manager, these log levels are converted to the corresponding JDK log levels. Table 2 describes the log level mapping from most to least severe.
Table 2 log4j to Java Log Level Mapping
The logger level nodes take a Boolean data type, but you can specify that the data types be automatically converted when you define the mapping.
Open the Business Process containing the element to which you want to add a logger entry.
In the Business Process Designer, select the element.
In the Business Process Designer toolbar, click Property Sheet.
The properties for the element appear to the right of the Business Process.
Click in the Logging Properties field, and then click the ellipsis (...).
The Specify Log Messages dialog box appears.
Define the log message using the available methods.
When you are finished defining the log message, click OK.