Posted: 16 Aug 2018 21:45 EDT Last activity: 29 Aug 2018 1:39 EDT
Track security changes of Proposition Filters
I am trying to use the field level auditing capability of Pega to track any changes made to proposition filter rules.
Thus far I have created the TrackSecurityChanges declare trigger and the pyTrackSecurityChanges data transform in the Rule-Decision-PropositionFilter class. The property I'm tracking here is: .pyDataRows(1).pyFilterCondition.pyWhenLogics(1).
Now what I need to see in the audit note is the proposition name (.pyDataRows(1).pyName) along with any changes made to the property (page-list) being tracked. This is to track the changes made to the conditions for any given proposition.
The changes to the when conditions are tracked as expected. However, I'm not sure how to include the proposition name to the audit entry. Is there a way to accomplish this?
To achieve your requirement create one Data Transform rule and mention your properties there. Refer this Data Transform rule in the activity pyTrackSecurityChanges and save this activity in your ruleset.
Thanks for your reply. I have tried this option, but it's difficult to pinpoint this to an actual proposition. As an example: say that the user added a when rule against a proposition. If I track the when rule, the audit will state: "Added WhenRuleName". What I need the audit entry to be is something like "Added WhenRuleName to PropositionName".