When a user check-in a case from the Case Manager UI, they are directed to the case details page. If any changes or mapping updates occur on the case details page and the user attempts to navigate back to the homepage, a confirmation popup will appear to prevent them from losing any unsaved work or data.
The popup displays the message, “Do you want to navigate away without saving the changes?” The user can click “Cancel” to stay on the case details page or click “OK” to proceed to the homepage.
If the user prefers not to see this popup when navigating back to the homepage, they can use the following code:
ap.tracker.markAsClean('caseDetails');