ServiceNow - Survey: how to edit the 'you are not authorized' error message

 this is present in the widget:

search the widgets server script for the following:

           gs.getMessage("You are not authorized or the record is not valid."); 

to update this message, create a message object (under system UI> messages) with the exact wording above in the key - everything between the ""

this should now display the new message


Popular posts from this blog

GlideRecord setValue

URL link in addInfoMessage