Configuring object attributes for read and update auditing

In NexJ Studio, you can specify attributes to log in the audit trail for read and update auditing.

When the readAudit or updateAudit modes are enabled for a deployment, you can specify the attributes to audit or modify the default attributes that are audited. For example, you can log when tasks are read or updated. After selecting an attribute for read and update auditing, auditing is triggered when a read, create, update or delete event is executed against the object associated with the attribute.

To select the objects to audit in your deployments:

  1. In NexJ Studio, navigate to the Business Model Layer and, in the Classes tab, open the Act class.
  2. To select attributes to audit:
    1. In the Attributes tab, in the Attributes area, select an attribute to audit.
    2. Select the ReadAudit or UpdateAudit checkbox for the attribute.
    3. Repeat these steps to enable auditing for another attribute.
  3. Click the Save button to save your changes to the class.
The attributes to audit in your deployment are selected. When you deploy your application, if the readAudit or updateAudit modes are enabled, user actions for the selected object types are audited when they are performed in NexJ CRM.
If your NexJ application is currently running, you must redeploy the application for changes to take effect.