Field-level auditing in the case
Pega Platform™ automatically tracks actions performed, for example, tracking which operators worked on a case and when. By default, Pega Platform maintains a history of actions performed on cases (Work- instances), such as when the case status changes, when the case is routed to an operator, or when the time to execute a service-level agreement expires.
You can enhance this capability by using field-level auditing. Field-level auditing enables you to monitor changes to important data values in your cases. From a security perspective, it is useful to track modifications when sensitive data is involved.
You can use field-level auditing to track changes that users make to fields and data fields. Actions for the field are automatically recorded in the History dialog box in the Field History tab. For example, you may want to know if an employee's salary has changed. The following image shows an updated field value for Salary that is tracked by using the field-level audit feature. This update affects the tax withholding amount in the next stage.
Note: Field-level tracking, and changes made in an instance of a rule, are captured in the History- class.
An audit entry shows the old value, the new value, who made the change, and when the change occurred. There may be two audit entries for data fields: one entry for modifying the initial value and another entry for adding a new value.
Field-level audit implementation
To track updates to field values in your application, you use the Settings tab on the Case type landing page. Enable field auditing and select the field you want to audit.
Note: To audit a data field, select the link to access the embedded field you want to audit. If you want to audit properties in inherited classes, select the System Fields or Reusable Fields check boxes.
In the center of the following image, slide the vertical line to compare the differences between field-level auditing for a single property and a data field property.
Check your knowledge with the following interaction.