Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Display Alert message on header of list view

nancyhz
Mega Contributor

I am going to use business rule to validate the filed change via a list of incident (list view).     If the validation is failed in business rule, we want to display the alert message on header of a list of incident (list view).   I don't know what is best way to display message on top of list view.   Any suggestion?

6 REPLIES 6

Deepa Srivastav
Kilo Sage

use addInfomessage:-



gs.addInfoMessage('Email address added for notification');


GlideSystem - ServiceNow Wiki



Please mark Helpful, Like, or Correct Answer if you find my response worthy.


I used this one, but this only display message on form header


srinivasthelu
Tera Guru

Hi,



You might find below thread useful How to create a ServiceNow popup alert box using a business rule - Evanios



Thanks


Srinivas