gs.addinfomessage portal display business rule
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-06-2017 03:02 AM
Hi guys
I have a display business rule with the following and it works fine on the back end. However in the portal view, it does display but for only 5 seconds, were as in back end, it displays until i click the X to remove it
Anyone any ideas?
(function executeRule(current, previous /*null when async*/) {
// Add your code here
gs.addInfoMessage("Complete all fields below with detailed information, attach any complaint documentation and submit within 1 business day");
})(current, previous);

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-06-2017 05:27 AM
What is the nature of your question.
The behavior of addInfoMessage() via Service Portal is different than that of the standard UI. That much is true. There is no known configuration I know to make them both disappear after a few seconds or both stay static until clicked.
If you feel strongly about having this feature parity, I invite you to open an enhancement request! Our product managers DO listen.
Enhancement requests: Tell us how you would improve the ServiceNow product

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-06-2017 05:31 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-06-2017 05:28 AM
Hi Brendan,
You may find link Service Portal (Helsinki): How to prevent confirmation messages from disappearing after a few second... helpful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-06-2017 06:22 AM
thanks guys will take a look