Table of Contents

Article

How to track changed values of work object properties using the Field Level Auditing gadget

Summary

The Field Level Auditing gadget allows you to configure individual scalar properties in work objects to track for changes. Changed values appear in the work object history. .

This gadget automates the steps described in How to extend the security auditing feature to record changes to additional properties by automatically creating the model and activity rules necessary to record changes in the work object history.

Suggested Approach

To configure change tracking using the Field Level Auditing gadget:

  1. Confirm that the the application containing the property to be tracked appears in the header bar of the Designer Studio. If not, select Switch Application > applicationfrom the application menu.
  2. Access the Field Level Auditing gadget by selecting > Process & Rules > Work History > Field Level Auditing.

  3. Select the work type which has the property to be tracked. All work types in the current application are shown.

    Alternatively, select to view all properties currently being tracked.

  4. Click the Add a Row button and select a property using the SmartPrompt.
  5. Click Submit. The gadget creates (or updates) a model named pyTrackSecurityChanges in the Work Type and RuleSet Version you specified. The gadget also creates (or updates) a Declare Trigger rule that monitors the property for changes and adds records to the work object history.

  6. To test, create a new work object. Any changes made to the value of the identified property, along with the operator that made them, are reflected in the work object history.

 

Tags:

Published March 24, 2010 — Updated May 7, 2010


88% found this useful

Have a question? Get answers now.

Visit the Pega Support Community to ask questions, engage in discussions, and help others.