I am checking check box and action set on this check box is calculating some values by DT and section action refreshing same section where check box is there to display calculated values But this is making check box uncheck.
We upgraded application from 7.2 to 8.7.5, in 7.2 it is working fine but in 8.7 we observed this issue.
Can anyone help me on this.
Thanks,
Kiran Kumar.
@KiranKumarLekkala The issue could be due to the way the checkbox tries to pick value from “currentContext.getPropertyValue(ctrlProperty)” after the refresh section call. This function tries to call “getValueFromPendingEventValues” and check if the “_pendingEventValues” object holds the value or not.
As this object is cleared on focusOut, it finds the stale value here only for the last checkbox clicked. This issue was addressed in the latest patch release.
A workaround provided was to set the actions on the “change” event instead of “click” event. This should then allow you to run the DT and Refresh the section as expected without any issues.
I believe this issue is fixed in 8.7.6: Pega Platform 8.7.6 Patch Resolved Issues so you may want to update and test again.