"Invalid Insert"

Deepak102
Kilo Contributor

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

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

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

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

4 REPLIES 4

Mark Roethof
Tera Patron
Tera Patron

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

---

LinkedIn
Community article list

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

palanikumar
Giga Sage

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

Thank you,
Palani

Ankur Bawiskar
Tera Patron
Tera Patron

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

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Mohit Kaushik
Mega Sage
Mega Sage

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

Thanks,
Mohit Kaushik
ServiceNow MVP (2023-2025)