We have a requirement in Theme Cosmos when a user logs into Manager Portal and navigates to the Dashboard and selects any work basket and opens an assignment from the workbasket and completes/cancels the assignment and clicks on the close button then the user should be navigated to the previously worked refreshed workbasket.
As close in not provided in Theme Cosmos we have called the function history.back() on click of the button, the only issue what we are facing is on click of the button which calls the above function it is navigating to the Worklist of the user in the Dashboard rather navigating to the previously worked workbasket.
Is there any solution or workaround to achieve this functionality?
We are currently using Pega 8.5.5 version.
***Edited by Moderator: Pooja Gadige to add capability tag, update product version***