Business Rule Message Not Showing Due to Page Refresh After List Action

Yoeri
Tera Contributor

Hi everyone,

 

I am experiencing an issue with a Business Rule in ServiceNow. Here's the situation:

  • I have a simple After Business Rule that triggers when the state of a record changes to "Reviewed".
  • The Business Rule is supposed to display a message using the basic configuration.
  • The rule works as expected when I manually set the state to "Reviewed" from the list view—the message is displayed.
  • However, when I use a List Action to update the state of selected records to "Reviewed," the Business Rule runs (confirmed with a gs.info('BR Ran') log entry), but the message does not appear.
  • I am trying to get this work in an UI Builder related list (which I do not think is relevant since the message triggers when I perform the action manually).

I suspect this is due to the page refreshing after the List Action is executed, which might be clearing the message before it can display.

 

Questions:

  1. Is my assumption about the page refresh removing the message correct?
  2. How can I ensure that the message persists after the List Action triggers the Business Rule?
  3. Are there any best practices or workarounds for showing messages in such scenarios?

Thanks in advance for your help!

 

ps. I am working in an air tight on premise instance so I can not share any screenshots.

0 REPLIES 0