How to set dependencies in a multi-line variable set (catalog item) selection box

Koki Sugimori
Tera Contributor

Hello.

 

I am currently creating a multi-line variable set of catalog items.
There are five SelectBoxes in the multi-line variable set.

KokiSugimori_0-1744952136581.png

 

Since we want to display the choices from the second SelectBox(2階層目) in such a way that they have a dependency, we have configured the settings as follows.

KokiSugimori_1-1744952438557.png

KokiSugimori_2-1744952447730.png

 

Here is where I am having problems.
I set the Reference qualifier in the third SelectBox(3階層目) as well as the second SelectBox(2階層目), but when I check from the Portal, the choices are not displayed.

 

I further checked and found that in the SelectBox(1階層目) -> Lookup SelectBox(2階層目), the dependency (Reference qualifier) works correctly and the choices are displayed, but in the Lookup SelectBox(2階層目) -> Lookup SelectBox(3階層目), not even the choices with the dependency are displayed.

 

KokiSugimori_3-1744953228015.png

KokiSugimori_4-1744953235388.png


Does anyone know of a solution?

 

Thank you in advance for your help.

20 REPLIES 20

@Koki Sugimori 

Is your instance having multiple languages?

do you have choices configured in another language as well in sys_choice table?

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

@Ankur Bawiskar 

Do you mean the language setting of the instance?
If so, there are “English” and “Japanese”.

 

In this case, all the records in the sys_choice table that we want to display as choices are set with “language=en”.
If it is other than that (other than the choices you want to display in this situation), then there is also a setting with “language=ja”.

@Koki Sugimori 

with which user you are testing it?

If you are using English user then try adding language filter condition as well in ref qualifier and see if that works

If it works then it means it's issue because of language filter not present in ref qualifier

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

@Ankur Bawiskar 

Thank you very much.

 

I am testing with English users.

KokiSugimori_0-1745225384172.png


I also added a language filter condition to the Reference qualifier, but it did not show any choices....

Variable3(3階層目)

Reference qualifier:
javascript:'name=sn_customerservice_case^language=en^element=u_test_choice_3^dependent_value='+current.variables.hinemos_job2

KokiSugimori_3-1745225508853.png

 

@Koki Sugimori 

then it's not a issue with language.

Is it not working even for admins?

If my response helped please mark it correct and close the thread so that it benefits future readers.

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