Hide list collector variable

Community Alums
Not applicable

Hi all,

I was having two variables i.e., for example request and type where request consist of two choices( a and b) and the type(list collector variable) consist of 5 choice. when i select the request  i.e. choice a then only 4 choice has to be displayed i.e. need to hide one choice when i select the b then it need to show all 5 choice. Can anyone help me with this how to achieve this.

7 REPLIES 7

Harish KM
Kilo Patron
Kilo Patron

Ankur Bawiskar
Tera Patron
Tera Patron

@Community Alums 

list collector is referring to which table?

for your case you will require advanced ref qualifier on list collector variable

what did you start with and where are you stuck?

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

Community Alums
Not applicable

Hi @Ankur Bawiskar 

The list collector is referencing on custom table. 

I was clueless how to hide the choices. Because we cannot remove the choices in list collector using removeoption in client script can you help me how to resolve these issue

@Community Alums 

that's correct. since it's reference you need to ensure you show only limited sysIds of the records which you wish to show

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