What is the "When to apply" in UI policy ?

If it is like :

close code is unsuccessful 

VishalBirajdar7_1-1694694423187.png

 

 

 

Then in execute if false script part write :

 

g_form.hideFieldMsg('close_notes',true);

VishalBirajdar7_0-1694694353613.png

 

===========================================================

 

In case you are using onChange client script

 

VishalBirajdar7_0-1694694855822.png

 

 

 

 

Vishal Birajdar
ServiceNow Developer

I know one thing, and that is that I know nothing.
- Socrates

View solution in original post