Hide list collector variable

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-11-2024 04:26 AM
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-11-2024 04:34 AM
Hi @Community Alums you can refer the below thread
Harish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-11-2024 04:39 AM
@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?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-11-2024 04:51 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-11-2024 04:56 AM
@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
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader