Show sub category field based on resource group field action

New user1212
Tera Contributor

Hi,
I need to add two new fields to the form:
1.Resource Group: (dropdown list) Interims, Persistent Externals, Occasional Externals, Non-Executives
2. Resource Sub group to display based on resource group selected:
-Interims
Interims - via Assured Partner
Interims - Independents
-Persistent Externals
Persistent Externals - via Assured Partner
Persistent Externals - Independents
-Occasional Externals
Occasional Externals - via Assured Partner
Occasional Externals - Independents
Non-Executives (no additional resource sub group dropdown required for this)
And now I don't know how to do it best. I created two select boxes with options but I don't know how to make them show up depending on the selection because in UI Policy you can't select a value from another variable.

9 REPLIES 9

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @New user1212 

 

Use the same foundation, that has been used for Cat and sub cat. or as an assignment group and assigned to.

 

Make sub group depend on main group.

 

This need to be done in dictionary level. 

 

AGLearnNGrow_0-1725263847681.png

 

AGLearnNGrow_1-1725263894179.png

 

 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

but how do I enter the dictionary as these are drop-down lists?

Shouldn't there be a Catalog Client Script showing options depending on the selection?

Newuser1212_0-1725264620329.png

 

Ehab Pilloor
Mega Sage

Hi @New user1212,

UI Policy is not required for this requirement.

Open configure Dictionary of Resource Sub Group by right clicking on the field label in record view.

Select Advanced View related link. In dependent field, select Resource Group.

Save it and then in choices related list, You will find dependent value field. Add the choice value (not label name) of Resource Group choices for every Resource Sub Group.

Save and test it.

 

If you found my response helpful, please mark it as Solution and Helpful. 

 

Thanks and Regards,

Ehab

but how do I enter the dictionary as these are drop-down lists?

Shouldn't there be a Catalog Client Script showing options depending on the selection?

Newuser1212_0-1725264423829.png