servicenow: I need to reload a form from it's UI Page client script. What is a reliable method? I've tried: 'location.reload();' without success
13:45 13 Jan 2026

Tried the following in the UI Page client script, which did not work:

            if (answer === "success") {
                location.reload();              //  try #1
                alert('Status updated: ' + statusValue);
                GlideModal.get().destroy();
            } else {
                alert('An error updating Approval occurred: ' + answer);
            }
javascript