How can I create banner on selected change request records only?

kinjal1
Kilo Expert

Hi All,

How can I create banner on change request whose start date and end date fall under specific time period ?

 

 

 

Thanks,

Kinjal

7 REPLIES 7

Anurag Tripathi
Mega Patron
Mega Patron

Hi,

If by banner you mean something like

find_real_file.png

 

then you can create a ui policy with condition like

find_real_file.png

And in the script add below

g_form.addInfoMessage('test'); //blue one
g_form.addErrorMessage('test'); // Red One

 

-Anurag

 

-Anurag

No. Not Info or error message.

Thanks, Anurag. This is exactly what I was looking for.

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

You can use UI policy based approach as mentioned by Anurag

OR

you can also use onLoad client script to check the date and show info message

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader