The CreatorCon Call for Content is officially open! Get started here.

gs.addinfomessage portal display business rule

brendanwilson84
Kilo Guru

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?

find_real_file.png

find_real_file.png

(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);

4 REPLIES 4

Chuck Tomasi
Tera Patron

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


You might also find this helpful.



gs.addInfoMessage() never disappears


brendanwilson84
Kilo Guru

thanks guys will take a look