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.

Catalog item variable dependency on other variable

asasas
Kilo Contributor

I have Created one variable which is select box type.

11.PNG


Once I select an option from select box, then only other variables should be seen.

can someone help?

17 REPLIES 17

Hi



Let me correct if i am wrong.



You want to show variable " Reporter's Name", "Customer Inquiry type", "Reporter's Email" and "Reporter's Phone Number" while selecting the e-transfer history details option.


If this is your requirement.


then Create an Catalog ui policy.


use the filter condition <field name> is "e-transfer history details option"


In catalog ui Action , set your field visibility.



Regards,


Harshvardhan


Bro it is not working.



I have created catalog Ui policy, but it is working for only One variable. Adding other variables is not working.


Hi



Please check "Applies on a Catalog Item view" has checked?



For testing i have created on my demo instance. it's working.



Test.png



Regards,


Harshvardhan


Look, Condition is : once i Select scam from select type then only channel &   Reporter's name should be visible


but For Channel it is working fine , not for Reporter name


5.PNG


When I select another option from select box type then also Reporter name is there



6.PNG



My catalog UI policy


7.PNG8.PNG


hi



If you make that field non mandatory . then it will work perfectly.



Regards,


Harshvardhan