Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Unable to customize message in Field Level Tracking

SA-100286

Summary



When enabling Field Level Tracking for all fields in a page list, unable to customize messages (in Field Level Tracking).


Error Messages



Not Applicable


Steps to Reproduce

  1. In the data transform rule form (pyTrackSecurityChanges), leave the Source column blank for the row which sets the property (in the Target column).
  2. Create three Field Value rules.
  3. Set the first key part to the rule type or data class.
  4. Ser the second key part to the property name.
  5. Set the final key parts to the three values,

    - TrackSecurityChange_Add
    - TrackSecurityChange_Change
    - TrackSecurityChange_Remove

     
  6. On the Localized Label tab, enter text that must display in the Memo field.
  7. In the TrackSecurityChange_Add field value, use {1} to refer to the new value of the tracked property. 
  8. For the TrackSecurityChange_Change field value, use {1} to refer to the old value and {2} to refer to the new value.
  9. For the TrackSecurityChange_Remove field value, use {1} to refer to the old value of the tracked property.


Root Cause



An issue in the custom application code or rules.
The data transform was not modified to display the Audit message as Changed the value (instead of the 'Added' and 'Removed' message) when the value was changed in the page list. Additionally, the Field Value was created in an incorrect class.


Resolution



Perform the following local-change: 
  1. In the pyTracksecurityChange data transform, add the page list property as below:

    Set .pagelistname(1).propertyname

     
  2. Create the Tracksecuritychange_Add, Tracksecuritychange_Remove, and Tracksecuritychange_Change Field Values for the property for which the Audit message must display in the class in which the property is created.
Suggest Edit

Published July 7, 2020 - Updated December 2, 2021

Did you find this content helpful? Yes No

Have a question? Get answers now.

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

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