- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2025 11:27 AM
Hi, I have a Reference variable ('group') where the user selects a group from sys_user_group.
I have a second variable ('remove_selected_members') that is a List Collector for the sys_user_grmember table, which I want to automatically filter based on the group selected in the first variable. Nothing I've tried so far (ref qualifiers, client scripts) has worked and I feel like I'm just spinning my wheels. Any help would be greatly appreciated!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2025 06:43 PM
this advanced ref qualifier will work on 2nd variable which is a list collector
javascript:'group=' + current.variables.group;
Ensure you give this in variable attributes of that list collector
ref_qual_elements=group
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2025 06:32 PM
Hi @JR42
Please refer below posts for your requirement:
Dynamically set list collector on change of variab... - ServiceNow Community
Solved: Populate list collector value of a reference field... - ServiceNow Community
Thanks and Regards
Amit Verma
Amit Verma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2025 06:43 PM
this advanced ref qualifier will work on 2nd variable which is a list collector
javascript:'group=' + current.variables.group;
Ensure you give this in variable attributes of that list collector
ref_qual_elements=group
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2025 10:42 AM
Thanks, Ankur! Exactly what I needed.
