- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2022 08:04 AM
We have a before update BR on change table, whenever the record has been updated, it will populate info message on the form multiple times.
what could be the cause? any suggestion please.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2022 08:42 AM
@Saranya2 Add below line at top of business rule script that will remove old messages and new message will appear. in this way there is only one message.
gs.flushMessages()
Please mark as correct answer if this solves your issue.
ServiceNow Community Rising Star, Class of 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2022 08:40 AM
Hi @Saranya2 ,
Do you have any condition added to BR?
You can see messages multiple times maybe because your BR running multiple times if no conditions are added.
Regards,
Reshma
**Please mark my answer correct or helpful based on the impact**
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2022 08:42 AM
@Saranya2 Add below line at top of business rule script that will remove old messages and new message will appear. in this way there is only one message.
gs.flushMessages()
Please mark as correct answer if this solves your issue.
ServiceNow Community Rising Star, Class of 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2022 07:07 AM
Hi @jaheerhattiwale,
I have added the above line on the top of the business rule, It is populating info message only one time. That is fine. but In a single update how we were getting multiple messages on the form, what could be the root cause?
We have a condition in a BR as below.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2022 07:28 AM