Support Article
Cancel confirmation popup does not display on clicking Cancel
SA-102220
Summary
On clicking the Cancel button from a screen flow, the Cancel confirmation popup does not display. This occurs on using the pega.u.d.isFormDirty().
ERROR MESSAGE
Not Applicable
Steps to Reproduce
Unknown
Root Cause
The Cancel button is customized. The section is refreshed after data is entered on the input fields. Since the screen is refreshed, changes on the page are not detected. Hence, the section is unable to display the Cancel popup.
Resolution
Perform the following local-change:
Use the out-of-the-box Cancel process. In the out-of-the-box Cancel process, the changes are determined even when the section is refreshed.
Customize the pyDirtyCheckConfirm section (If required) to display any specific popup.
Published July 10, 2020 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.