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.

UI Policy or Business Rule or Client Script?

JamesLindsay
Giga Guru

I have two True/False fields on a form/table. Only one or the other should be checked, never both. What's the best way to go about implementing that?

1 ACCEPTED SOLUTION

SAI VENKATESH
Kilo Patron
Kilo Patron

Hi @JamesLindsay 

 

For the two True/False fields use UI Policy to achieve that.

 

Implementation:

 

Two true/false fields:  A and B

 

ui policy condition:

 

A is True/false(ui policy condition)

then UI policy actions:

 

make B visible : false;

 

 

Thanks and Regards

Sai Venkatesh

 

 

 

View solution in original post

5 REPLIES 5

Yashsvi
Kilo Sage

Hi @JamesLindsay

The most effective approach to meet this requirement is by using a UI Policy.

Thank you, please make helpful if you accept the solution.