7.3 Log Activity

The Log activity is a system activity that writes messages to a log. To log information about the state of a workflow process, the Workflow System interacts with Novell® Audit.

NOTE:Novell Audit can be configured to send its information to Novell Sentinel for additional logging and reporting features.

During the course of its processing, a workflow can log information about various events that have occurred. Users can then use the Novell reporting tools to look at logged data.

Before you can use logging, you must enable logging in the user application.

NOTE:During the course of workflow execution, many system events are logged that are not controlled by the Log activity. For example, the Workflow System writes a message to the log whenever a workflow is started or stopped, or when it is approved, denied, or refused.

7.3.1 Properties

The Log activity has the following properties:

Table 7-11 Log Activity Properties

Property Name

Description

Name

Provides a name for the activity.

Audit

Specifies whether log messages should be sent. When this property is set to True, messages are sent to all log4j channels, including Novell Audit. When this property is set to False, no log messages are sent.

Author

Defines the author for the message. By default, the author is the initiator of the provisioning request.

Message

Specifies an ECMA expression that defines text for the log message. Typically, this text indicates where this Log activity is being executed within the process and provides other information that makes the log easy to understand.

For details on building ECMA expressions, see Section 9.0, Working with ECMA Expressions. For descriptions of the system variables available in a workflow, see Section 6.5.3, Understanding Workflow Data.

Comment

Specifies an ECMA expression that defines text that can be displayed in the user comments. You might use it to record the reason for a request or a request’s completed approval status. Some examples include:

"Reason for request: "+ flowdata.get(’reason’)

or

"Process has been " + flowdata.get(IDM_COMPLETED_APPROVAL_STATUS’)

7.3.2 Data Item Mapping

Not supported with this activity.

7.3.3 E-Mail Notification

Not supported with this activity.