When navigating from one global page to another within the application, a browser alert message appears saying:
“Leave site? Changes you made may not be saved.”
This popup is shown even when no form changes are made on the page. As a result, the user must manually confirm navigation every time, which impacts the workflow and user experience.
We need to identify where this before-unload / unsaved changes trigger is being set (possibly through window.onbeforeunload, canDeactivate guard, or unsaved form state check) and remove it or conditionally show it only when the form is actually modified.
Hello @venkatesh ,
Please make sure that all the changes in the Studio are saved before making any further updates. Ensure that the project changes are completely saved before proceeding to the Case Manager.
Try following this approach, and if the issue still persists, please let us know.
Hey @venkatesh try adding this line “ap.tracker.markAsClean(‘caseDetails’);“ in a custom node at the end of onit or some other operation if exist. May work.
The string “caseDetails“ will change accordingly to your project/global page.