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 hide the list collector options

Atik
Tera Contributor

Hi All, 

I am working on the service catalog where there is a field let say 'Test1(choices are full license and team license)' which is choice field and another field is Roles which is list collector field and referencing to the question_choice table.

What my requiement is if user selects team license option of Test1 field then in Roles field which is list collector i wanted to hide few of roles.

 

Please help me on this

Thanks,
Atik

1 REPLY 1

Danish Bhairag2
Tera Sage

Hi @Atik ,

 

In list collector field u need to write under advanced reference qualifier

 

field_name = current.variables.test1 // pls modify the variable values as per your need.

 

This should filter out the data for you.

 

Thanks,

Danish