Support Article
Confirmation message is not displaying while closing edited WO
SA-31457
Summary
The user has updated information in work object, now user is trying to close the work object with out save. Confirmation popup is not displaying to save or discard the change.
Error Messages
Not Applicable.
Steps to Reproduce
- Configure a case.
Root Cause
A software use or operation error:
The user has set the pega.u.d.gDirtyOverride property value to true in UserWorkForm, hence it is not displaying the confirmation popup as expected. After removing the code from UserWorkForm, now confirmation popup is displaying expected. However when user click discard button in that popup, it is again displaying the browser level confirmation message.
The user has customized the pyDirtyCheckConfirm section, for discard button with run script, it is resulting additional message from browser.
Resolution
Perform the following local-change:
After following below changes now it is working as expected:
- Removed the script from UserWorkForm to set the pega.u.d.gDirtyOverride property value.
- Changed the Discard button click action to cancel action from run script.
Published December 18, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.