Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

How to display dependent catalog Variable based on another Select Box Variables

Nisha30
Mega Sage

Hello Community,

 

Many threads went through for making dependent variable based on another variable.

 

Our requirement is 2 Select Box BoxA and BoxB. Both has many values.

 

How can I make BoxB certain values selectable when specific BoxA selected.

 

Clientscript is the last option any alternative ?

 

Thanks

5 REPLIES 5

HarishKumar6668
Kilo Sage

Hi @Nisha30 ,

If you have a large number of values, it would be better to store them in a table and use a Reference Qualifier to make BoxB dependent on the value selected in BoxA.

If the values are maintained directly as Select Box options, I don't think there is an out-of-box way to make BoxB dynamically dependent on BoxA without using a Client Script.

Regards,
Harish

Hi @HarishKumar6668 

Initially i was thinking to make use of decision table however seems it can be only used when in Flow Designer.

We are trying to create custom table as well.

Thanks

Hi @Nisha30 ,

Decision Tables can also be used within scripts. You can copy the script generated by the Decision Table and use it into your GlideAjax Script Include .

Screenshot 2026-09-02 at 6.57.00 PM.png

Regards,
Harish

Ankur Bawiskar
Tera Patron

@Nisha30 

2 drop down variables and 2nd one is dependent on 1st one?

screenshots please

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