- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2020 09:06 PM
Hi Guys
While Email validation in BR i have one msg show in incident form that "Invalid Inasert" but i dont want that message show in incident window
So how can i resolve it?
Any suggestions
Please see attach image for more clarification
Solved! Go to Solution.
- Labels:
-
Multiple Versions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2020 09:55 PM
Hi Deepak,
Can you tell on what steps you are trying?
That Invalid Insert message is possibly coming because of before insert BR restricting the record insertion
Regards
Ankur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2020 09:43 PM
Hi there,
Can you give a bit more info on what you are doing here that results in this behavior?
If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
2020 ServiceNow Community MVP
2020 ServiceNow Developer MVP
---
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2020 09:48 PM
Hi,
I hope you are using gs.addErrorMessage in your BR. It is a default behavior which can't be changed. If you have requirement to capture the error message but not to display in screen, I suggest you to log it using gs.log instead of using error message
Thank you,
Palani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2020 09:55 PM
Hi Deepak,
Can you tell on what steps you are trying?
That Invalid Insert message is possibly coming because of before insert BR restricting the record insertion
Regards
Ankur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2020 10:13 PM
Hi Deepak,
If you just want to hide this message. Then you might be able to achieve it by commenting the
gs.addErrorMessage() line in your BR. But why do you want to achieve it and what is the use case you are trying to fulfill here that is bit confusing.
Thanks,
Mohit Kaushik