Business Rule Message Not Showing Due to Page Refresh After List Action
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2025 05:53 AM - edited 01-09-2025 05:54 AM
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:
- Is my assumption about the page refresh removing the message correct?
- How can I ensure that the message persists after the List Action triggers the Business Rule?
- 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