I have a back button beeing used in a chid case, but the child case can be opened in alternative screen flows, so everytime the button is clicked it directs me to the father case because its configured with an Open work by handle action.
Are there any whay i can configure it to perform an action like a JavaScript similar to:
Hi @Bhavani Sagireddy,
The problem is the child case is accessed from different screens, currently the button only directs to the parent case.
But if the user accesses the child case from another screen flow, he returns to the parent case, and this is not ideal behavior. He must always return to the previous screen, regardless of whether he accessed it via parent case or through a section with activities.
I already put a Run Script action in JS to return, but it didn’t work.
my js function: function backscreen() { history.back(); }
Hi @Bhavani Sagireddy we encountered the same issue in upgrade project. we are upgrading from 7.2 to 8.7. This script in back button is not working in pega 8.7.I guess this is due to scripts are having security check. Could you please let me know how to register the script in userworkform.