We are using Split for Each to route case to three different managers for approval (the ApprovalFlow). The pxFlow PageGroup contains three instances of the same flow (ApprovalFlow, ApprovalFlow_1 and ApprovalFlow_2). Once a manager approves the case, the assignment is deleted from the assign-workbasket table, however, the pxFlow still shows all three flow instances. The flow that was just completed (ApprovalFlow) does not have any assignment information as the assignment was just completed and assignment was removed from the assignment table. The other flows (ApprovalFlow_1 and ApprovalFlow_2) contain all the information about flow and assignments.
I think, because the completed flow is still in the pxFlow Page Group, it causes UI to show a section where user can hit “Go” button and finish the flow.
@NadeemM8116 - Need to add refresh strategy on the to do widget section(pyAssignmentListFlat). Add refresh conditions on the layouts as mentioned in the below article for getting the widget automatically reflected with latest data instead of doing it manually.
Thanks for your response. I added the refresh condition on pyAssignmentListFlat but it did not work. I also updated same refresh condition in the parent section pxAssignmentView but it did not work too. Do you suggest I should open a support ticket with Pega?
@NadeemM8116 - I think as we have still the data in clipboard that is why the refresh strategy is not working. Can we explicitly remove the pages in order to fetch the pages again freshly with correct ones on load?
How do you suggest I remove the page(s) explicitly? Do you want me to do it in Post Processing activity? Also I am not sure which page you want me to remove? I am assuming it is pxFlow(ApprovalFlow) page.
I also unchecked this checkbox thinking that this will force system to not look for any assignment, but this didn’t work either.
My understanding is that once the assignments are deleted from Assignment table (which they are) the clipboard should be updated with current case information. Btw as soon as I click on Refresh link on the left Case Summary panel, the clipboard is updated and as a result the To Do list becomes invisible.