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.

How to create dependent choices using list type field

Yashaswinilv
Tera Contributor

Hi,

I have a field called Level 1 which has 5 choices and Level 2 field with 20 choices.

Based on the Level 1 choices, Level 2 field should display only the dependent choices.

Example: Level 1: ch1, ch2, ch3, ch4, ch5 and Level 2: subCh1, subCh2, subCh3, subCh4 etc.....

 

When I select ch1 in Level 2, I want Level 2 to display only subCh1 and suhCh2.

 

And I should be able to multi select the choices in both Level 1 and Level 2 fields.

Example: When I select Level 1 as ch1 and ch2, then I want Level 2 field to show subCh1, subCh2, subCh3 and subCh4 choices.

 

List type can be used to show multiple values.

Would like to know how to add the dependency between 2 fields and it's choices.

 

Appreciate your responses. Thank you in advance.

0 REPLIES 0