- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2023 06:48 AM
Hi there,
I have a form that displays an error message if there are no comments on submission.
I cannot seem to find the business rule or client script that contains this message though.
Where/how should I start looking?
I've looked at the business rules and the client scripts to see if I can find the script there, but still to no avail.
Any help would be much appreciated.
Kind regards,
G
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2023 12:44 AM
Thanks @Dr Atul G- LNG @Maik Skoddow @Anurag Tripathi @Ankur Bawiskar for the responses.
For those still looking for an answer I found a quick way to check (might not catch all instances) is to open up studio and code search within the application you are in.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2023 06:55 AM
Did you check any data policy is operating? that might be the cause
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2023 06:56 AM
Have you checked the ui policy?
How are you searching?
You may not get the message, but if the field is made Mandatory , and not filled in, then you will get the error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2023 06:57 AM
Hi @gunishi
the problem with such messsage is, that you don't know whether the original message contains any placeholders which are replaced via API call gs.getMessage().
Open table sys_ui_message and search within the message text for example for "{0}":
Instead, to find your error message you have to reduce your search to some certain text pieces which are candidates that have not been replaced by any dynamic values.
Maik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2023 08:30 AM
Hi @gunishi
All who answered are experts here and if you can share the screen shot and form details , we are able to help you. I remember, few days back I saw same issue but user did not share the screen shot. So please do needful.
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]
****************************************************************************************************************