Skip to main content

Table of Contents

Enabling security auditing for a data class or rule type


Only available versions of this content are shown in the dropdown

You can record changes for single values and aggregate properties when you enable security auditing.

To enable security auditing for a data class or a rule type, complete the following steps.

  1. In Dev Studio, create a data transform named pyTrackSecurityChanges with an applies to class equal to the class you want to audit.

    Examples with this name are provided as standard data transforms for tracking changes to access groups, operator ID instances, Access of Role to Object rules, flows, case type rules, and application rules. You can save copies of these standard data transforms into your ruleset and update the list of properties to be tracked.
  2. On the Definition tab, in the Action field, select Set.

  3. Specify the property in the Target field.

    • For value list or value group properties, enter a numeric index to identify one value.
    • For page mode properties, enter a reference to a single-value property within the page structure.
  4. In the Source field, enter a word or phrase that will be displayed on the History Details section.

  5. Click Save.

  6. Create a Declare Trigger rule named TrackSecurityChanges.

    The Apply to (class) field and Add to ruleset field are filled out automatically, but can be changed if needed.
  7. Optional:

    Leave the Value column blank for a row to apply custom text from a field value rule.

  8. On the Trigger tab, in the Trigger when an instance is field, click Save.

  9. In the Trigger activity section, in the Name field, select TrackSecurityChanges for the activity name.

  10. In the Execute field, click Immediately.

  11. Click Save.

  12. Optional:

    Test the feature by changing a rule or data instance and review the history.

Did you find this content helpful?

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us