Business Rule

UmesH77
Giga Guru

I am using current.setAbortAction(true) in a Before Business Rule and displaying a custom message using gs.addErrorMessage().

While my custom message displays correctly, ServiceNow also shows a system-generated message “Invalid update”.

Is there any way to disable or customize this “Invalid update” message so that only my custom message is shown?

 

Thanks,
Umesh

2 REPLIES 2

Dr Atul G- LNG
Tera Patron

Hi @UmesH77 

 

Might be helpful

 

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1005894

 

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

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

Ankur Bawiskar
Tera Patron

@UmesH77 

No you can't remove that Invalid update message as it comes from OOTB core platform logic.

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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