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.

Dependent Choice List in Catalog Item

Dhivya1
Kilo Contributor

Hi,

I am having a requirement to populate a choice based on other field selection. In this case, I have more than 100 choices which I couldn't use add or remove options in catalog client script and also couldn't use dependent value, because for other choices there is no dependency.

If A is selected, only 'A' from other field should be populated,

If other than A is selected, all other choices from field should be populated.

Please help with the solution.

1 REPLY 1

Tushar Choudha1
Kilo Explorer

Hello,
As there are more than 100 choices. The client script option will work but the efficiency will be decreased.
The solution can be, Create a custom table for all the choices & use that custom table as a reference in your field type(Select box/reference)  & Use the conditions in the reference qualifier to restrict the choices to be populated.

I hope the above answer will help you:)