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.

7 REPLIES 7

Hi
I have provide the requirement.
Thanks
Varsha 

Ankur Bawiskar
Tera Patron
Tera Patron

@varshajain 

unless you share we can't help much.

 

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

varshajain
Tera Expert

I have two fields training type and format of training here,

whenever training type and format of training changes, the title duration and description and many such fields should visible and vice - versa and mandatory also.

I worked with UI policy and applying with AND conditions also, I checked reverse if false option also. But didn;t work as expected.

For eg. Course duration should visible and mandatory only when new training and virtual classroom only . and course description should mandatory only when existing and e- learning selected, should visible when new training  and e- learning and virtual classroom is selected.