Duplicate info messages on Workspace form (Business rule)

Vaibhav K Yadav
Tera Contributor

Hi,
I have a business rule running on insert of change request and creating a publication record. The issue is it's showing the info message and error message two times in the workspace however it is working fine in native UI. Please let me know if you have the solution for it.
FYI: It's not only related to this particular business rule, all the messages are showing duplicate in workspace.

VaibhavKYadav_0-1750923477562.png

 

 

6 REPLIES 6

@Vaibhav K Yadav 

Please raise a case with ServiceNow.

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

Syed14
Mega Guru

Hi,

You can add gs.flushMessages() at the start of your script so that any existing info messages will be cleared before adding a new one.