After submitting a record producer, can the information message be "sticky"?

mcconnellsj
Kilo Sage

We have a record producer in the catalog that creates a record that the user may not necessarily have read access to.

So we added a information message to at least give positive feedback that the record was created.

However we cannot stop the redirection to home page / catalog and the message flashes up for a split second then disappeares.

Can the message remain on screen or can the redirection not happen?

find_real_file.png

1 ACCEPTED SOLUTION

Deepak Negi
Mega Sage
Mega Sage

if you want to use it for Service Portal, then there is a system property. Please enter a higher number of seconds so that the message wont flush off soon.

 

find_real_file.png

 

Thanks

Deepak

View solution in original post

9 REPLIES 9

Harsh Vardhan
Giga Patron

adding one article here. kindly have a look. it has used script in business rule so in your case you can write on your record producer script field instead of business rule. give a try. 

 

https://www.servicenowguru.com/scripting/business-rules-scripting/display-messages-ui-notification/

Hi

Thanks!

Just before I dive in ... these notifications work the same for users using Service Portal as the regular platform?

S.

I guess they do ... when I replied to this message it faded in "Reply posted" at the top - so I guess that message is using it.

for portal i doubt here, because i have seen on portal when you hit the submit button it redirect to ticket form and gs.addInfoMessage() does not work that time. 

my above reply will applicable for native UI .

adding hi article here. 

 

https://hi.service-now.com/kb_view.do?sysparm_article=KB0713668