How check where the Alert came from?

ican
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
Tera Patron

Hi @ican 

 

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

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

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/atul_grover_lng [ Connect for 1-1 Session]

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

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

Hi @ican 

 

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

 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

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/atul_grover_lng [ 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.