Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Service Portal 'your session has expired' alert

rachelconstanti
Mega Sage

Hello community,

 

I am trying to figure out how to change the text in an alert message that appears on the Service Portal.

The alert is:

 

Your session has expired.  Please login to pickup where you left off.
Click here to continue...


I have also attached a screen shot.

 

I want to change the text within the error message - where do I make this change?

 

Thank you,

Rachel

3 REPLIES 3

James Chun
Kilo Patron

Hey @rachelconstanti ,

 

I believe it could be in one of the two places:

  • Messages [sys_ui_message] table. Search your message ("Your session....") in the 'Message' column, OR
  • Widget [sp_widget] table. Within the widget, the message may be hard coded, use an input from option, or use gs.getMessage. I am not sure which widget this is, if you can share the portal page ID, I can look into it further.

Hope it helps!

Hi James,

I looked in both places, and could not find it however I set this system property 'glide.amb.session.timeout.multisso_custom' to false which updated the language in the error to be
'Your session has expired. Please login again.'  

This resolves what I was wanting to do, but would still love to know what table those errors are in.

Thank you for the quick response.  Much appreciated.

Hi @rachelconstanti ,

 

I found an article that should answer your question.

 

https://www.servicenow.com/community/developer-forum/service-portal-customise-the-timeout-popup-on-s...

 

In summary "message on this popup can be modified by creating a system UI Message with key as 'Your session has expired. Please login to pickup where you left off.'"

 

Please have a go and let me know how it goes.

 

FYI, the 'glide.amb.session.timeout.multisso_custom' property may need to be set to 'true'

 

Thanks!