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.

Show Hide condition on the record producer

Alik_92
Tera Contributor

Hi everybody,

 

I would like to understand how to set up show/hide conditions for specific variables on the record producer.

 

For the following variables, the show/hide condition should be 'only show if "Do you already have the car?" is true':
'your car,' 'what is the number plate of your car,' and 'your leasing contract'

 

For another variable, the show/hide condition should be 'only show if "Do you already have the car?" is false':
'expected delivery date of your car (Month year)

 

Thanks in advance!

1 ACCEPTED SOLUTION

Ethan Davies
Mega Sage
Mega Sage

The easiest way to do this which requires no coding is to use Catalog UI Policies on the record producer.

EthanDavies_0-1700493754925.png

EthanDavies_1-1700493805648.png

Once you create the UI Policy, you can then see a Related List on the form for UI Policy Actions. Create as many actions as you need. The Actions are the 'what should I do' when your condition is met, such as showing or hiding a variable.

View solution in original post

1 REPLY 1

Ethan Davies
Mega Sage
Mega Sage

The easiest way to do this which requires no coding is to use Catalog UI Policies on the record producer.

EthanDavies_0-1700493754925.png

EthanDavies_1-1700493805648.png

Once you create the UI Policy, you can then see a Related List on the form for UI Policy Actions. Create as many actions as you need. The Actions are the 'what should I do' when your condition is met, such as showing or hiding a variable.