Question

Customise Field Level Auditing Message for a Page List

Hi,

I'm currently trying to customise the history memo for field level auditing of a pagelist but I'm not able to make it work. Kindly suggest of a way to achieve this. I'm not able to find anything in PDN.

Thanks,

Mariel

Comments

Keep up to date on this post and subscribe to comments

Pega
July 17, 2019 - 7:52pm

Customizing memo text

Advanced featureUsing field value rules, you can customize or localize the memo text presented on the History Details reports for a property:

  1. In the Data Transform rule form, leave the Source column blank for the row that sets that property (in the Target column).
  2. Create three field value rules. Set the first key part to the rule type or data class and the second key part to the property name.
  3. Set the final key parts to the three values TrackSecurityChange_Add, TrackSecurityChange_Change, or TrackSecurityChange_Remove.
  4. On the Localized Label tab, enter the text to appear in the memo field.  In the TrackSecurityChange_Add  field value, you can use {1} to refer to the new value of the tracked property. For the TrackSecurityChange_Change field value, {1) to refer to the old value and {2) to refer to the new value. For the TrackSecurityChange_Remove  field value, you can use {1} to refer to the old value of the tracked property.

For example, to provide custom text for changes to the property pyDefaultAppName on the access group form, the Localized Label text:

Updated the application from {1} to {2}.

At run-time, this produces a memo similar to:

Updated the application from Mortgage to ConsumerLoan.

Further PDN links:

https://community.pega.com/knowledgebase/articles/how-track-changed-values-work-object-properties-using-field-level-auditing

July 17, 2019 - 8:59pm
Response to SusanLiu

Hi Susan,

Thanks for this, but I am looking for a way to customise the memo for PageList property. Currently the ootb message is pipe delimited same as below. I'm not able to figure out where to create the FVs for this scenario.

This is the ootb message for auditing a pagelist

18/07/2019 10:44 Removed List value '|jjjjjjj|true|5' at index '5'  
17/07/2019 23:36 Added List value '|true' at index '7'  

And this is what happens when I leave the the Target column in the DT

17/07/2019 22:59 TrackSecurityChange_Add |hhhhh|true  
17/07/2019 22:54 TrackSecurityChange_Remove |kkkk|true|2|kkkkk

I cannot find TrackSecurityChange_Add and TrackSecurityChange_Remove field values so I can customise the memo. Also, is there a way to display values we only need in the pipe delimited part of the message.

Thanks,

Mariel