Display InfoMessage permanently on list header
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-02-2017 09:42 PM
I need to display Info Message permanently on the top portion of list view.
Whenever I access the List from the Application menu, the Info Message will be visible in the list header
Hereby attached an image for further reference...
How to implement this ?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-02-2017 10:59 PM
This is not achievable without heavy customization.
Perhaps consider an alternative, like a GlideDialogWindow that returns when the background process is complete.
ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-02-2017 11:18 PM
Hi Eswari,
You can create a business rule on the table, set it to run either Before/Display on Query in the 'When to run' tab, and under the 'Actions' tab have it display your message (or you can check the Advanced checkbox and add a script that displays the message using gs.addInfoMessage(...)).
This will display your message every time the list gets loaded by clicking your module. If the user closes the message, it will NOT be displayed again until reloading the list either by clicking the module or navigating the URL again. Refreshing the list via right-click context menu does not re-display the message, but I'm not clear if that is also part of your requirement.
Thanks,
-Brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-03-2017 12:13 AM
I already tried this with the help of Business rule.But when I edit the cells in the list, the message displayed again

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-03-2017 12:48 AM
Hi Eswari,
In that case, try using the Advanced option with script:
gs.flushMessages();
gs.addInfoMessage('your message here');
The first line will clear any existing message every time it runs before displaying the message again.
Thanks,
-Brian