Question

9
Replies
1362
Views
RochwynR Member since 2014 3 posts
Objectwise Consulting Group
Posted: 2 years ago
Last activity: 1 year 2 months ago
Closed

Audit Trail not showing PageList Index

Hi,

We are trying to track changes using field level auditing feature made to individual properties within a pagelist instead of the entire pagelist. For example in pyTrackSecurityChanges data transform, we have added Transaction(1).Amount instead of the tracking Transaction(1)

Now, when the value of Amount changes for any given index the audit only has the below note: ChangeTrack_AddTransaction Amount12.00 --- for an add action or ChangeTrack_ChangeTransaction Amount12.0013.00 for an update action

but it does not indicate which index that change was made for. It is impossible to track the change to the original transaction without the index

In the function: addMemoForSecurityChangeTracking the index seems to be tracked only when the entire pagelist is tracked

if (strAction.equals("TrackSecurityChange_Add"))
{
strMemo = tools.getLocalizedTextForString("pyLabel","Added") + " " + strValueFromModel + " '" + strCurrentValue + "'";
if(cd.isAncestorOf(className)){
if(!"".equals(index))
strMemo="ChangeTrack_Add_Indexed\t"+strValueFromModel+"\t"+strCurrentValue+"\t"+index;
else
strMemo = "ChangeTrack_Add\t"+strValueFromModel+"\t"+strCurrentValue;

As per this pdn article https://community.pega.com/support/support-articles/audit-trail-not-sho… this issue was supposed to be fixed in version 7.2

We are currently using version 7.3 but still seem to encounter the issue.

Is there any fix for the same?

Pega Platform
Moderation Team has archived post
Share this page LinkedIn