UI Policy condition [<Field name>] [is not] [-- None --] evaluates to true?

harinalamalapu
Giga Expert

I created a UI Policy with condition "Backout type is not --None--" or "Backout type is not Automatic" to display 'Backout time' field. But the 'Backout time' field is getting displayed when the Backout time is --None--. Is this a default ServiceNow UI Policy behavior?

*Note - I am currently using Geneva.

1 ACCEPTED SOLUTION

You need to put them as "AND" instead of or...



Because if the Back-out type is None, it isnt "manual code 2".. so it gets true...



//Göran


View solution in original post

13 REPLIES 13

harinalamalapu
Giga Expert

Attached a screenshot of my UI policy setup for more details.



find_real_file.png


For your second condition, "back-out type is not --None--", do you mean for this to be "Backout time" instead of "back-out type"?


You need to put them as "AND" instead of or...



Because if the Back-out type is None, it isnt "manual code 2".. so it gets true...



//Göran


ghsrikanth
Tera Guru

Yes, --none-- doesnt have any value.


Could you please change the condition to back-out type is not EMPTY



Please let us know whether it worked or not.