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.

Related to Service catalog on visibility and mandatory fields

varshajain
Tera Expert

In my service catalog, i have two select box field, for eg, 1 . is categery which has two options anad 2. is sub category which has 5 options.
now based on these conditions , the form visiblity and mandatory should work according.
Like it becomes 10 conditions on this, most of the variables are common and its visibilty and mandatory works on different cases.
I worked with UI policy and Client scripts and it is not working as expected.
How can I achieve this, and variables whose visibilities I need to do has almost 12 -1 5 variables.

10 REPLIES 10

I’d suggest using separate Client Scripts for each field instead of trying to manage everything through a single UI Policy. Client Scripts give you more control over complex combinations, especially when multiple fields need to show/hide or become mandatory based on different training type and format values

Thanks 
Eshu