We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

How check where the Alert came from?

ChezAndrewI0898
Tera Contributor

Hello

 

After clicking a button which is in UI Page an alert is displayed but I don't know where that alert came from.

I have searched in Client Script, UI Action, UI Page, Script Include for that alert but i have not found it yet.

 

In the UI Page the alert is not also found there.

I think it comes after the g_form.save() from the UI Page.

 

Is there a way in Servicenow to check where a specific alert came from?

 

Thanks in advance!

5 REPLIES 5

Dr Atul G- LNG
Tera Patron

Hi @ChezAndrewI0898 

 

Please share the screen shot of alert message , so troubleshot, also steps to reproduce this.

*************************************************************************************************************
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************

I can't share the screenshot but i got already, it is just in the client script.

Hi @ChezAndrewI0898 

 

Without seeing the error message, it is tough to tell how this message is appearing.

 

- UI policy

- ACL

- Business Rule

- Client Scripts 

 

or do one thing,when you get the error please check the response timer

When u click on this, it will open scripts executed on this page

Open each script n read the code buddy.

LearnNGrowAtul_0-1701860977467.png

 

*************************************************************************************************************
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************

It not an error, it is just a custom alert message. I wasn't able to find it earlier since I searched for the whole message wherein it is a mixed of Text and variables.