How check where the Alert came from?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2023 12:54 AM
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2023 02:25 AM
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]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2023 03:03 AM - edited 12-06-2023 03:07 AM
I can't share the screenshot but i got already, it is just in the client script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2023 03:09 AM
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.
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]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2023 04:37 AM
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.