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

Selection of previous item id in repeating grid post sorting

SA-2406

Summary



CPM 7.2/PRPC 7.1.4 (with FCM)
After sorting a repeating grid via one of the columns and clicking on the row the previous ID of the item at that position is used and not the current id.

On “Click” of a row in a grid after sorting via a column, the key passed to the FCMOpen is the key of the row prior to sorting at that position of the page list.

For example if the item at row 5 is CBM-0002211 and then the worklist is sorted by “Submitted On” the item at row 5 becomes KYC-0004040.

However, when clicking on KYC-0004040 item CBM-0002211 will be displayed.

CPM 7 Release 2 & Hfix-8662 are required to allow CPM / FCM to work with remote workobjects via the Federated Worklist
--> It is already Installed

list of CPM fixes installed:
>> DL-30805, DL-31260, HFIX-9040, pxHFix-8862

If you look at the tracer the key issue is that the declare page rebuilds itself when clicking on the link before the call to FCMROpen. Therefore by the time FCMROpen is called the page at index [5] has been replaced with the default one from the report that populated the Page.

Error Messages



Wrong item opened


Steps to Reproduce



On “Click” of a row in a grid after sorting via a column, the key passed to the FCMOpen is the key of the row prior to sorting at that position of the page list.

For example if the item at row 5 is CBM-0002211 and then the worklist is sorted by “Submitted On” the item at row 5 becomes KYC-0004040.
However, when clicking on KYC-0004040 item CBM-0002211 will be displayed.
Before sorting (default worklist order)

After Sort

Click on row 5

Section configuration.

Grid Actions


Root Cause



The root cause of this problem is a defect in Pegasystems’ code/rules.



Resolution



This issue is already resolved in Maintenance Level (ML) release ML7 - Pega 7.1.7.


 
Suggest Edit

Published January 31, 2016 - Updated October 8, 2020

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