I have a grid sourced from a Data Page to display the work list and workbaskets and also included a link to reassign an item to Workbasket or a Worklist.
On Click of the link, I'm executing a Data Transform, and Launch a local action in modal dialog and at last refresh the section. The DT is copying the Case ID, InsKey and some data to a temporary page for the reassign.
As per my observation after traced, when clicked on the link, the DT is running and copying the correct details from the row which I clicked. Then before the Modal Dialog opens, OOTB activities fired and refresh the section, while doing the refresh it's opening the newAssignPage of the previous row. Because of this incorrect newAssignPage, the reassign functionality is failing. I have used OOTB activity pxTransferAssignment to do the reassign. In the OOTB activity it's opening the newAssignPage and the incorrectly opened newAssignPage is causing an assignment mismatch.
The weirdest thing about this is that the reassign works for the first 4 to 5 rows. after that it fails. For example, when clicked on row 8, it will open newAssignPage of row 7.
Also, when sorted and clicking on link will copy data from the 1st page (before the sort) of the corresponding row number.
Pega Version is: 7.1.7
Hope someone can help.
***Edited by Moderator Marissa to update categories***