- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2025 07:24 PM
HI All,
I have a list collector variable which refers to question_choice table . I want to show only 2 records in that variable to select as choice. I have tried to with reference qualifier but still did not get expected result. Could you suggest me what should be my approach.
Thank you
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2025 08:39 PM
share your ref qualifier, seems you have not given it correctly
something like this should work
javascript:'sys_idIN' + 'sysId1,sysId2'; // give sysId of question_choice records which you wish to show
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2025 08:37 PM
Hi @1_DipikaD
What do you mean by "show only 2 records"?
Since we have the reference qualifier, we can always limit the choices available for selection. In your case, you can consider to have a query like "sys_idIN<sys_id1>,<sys_id2>" if there is no specific condition to retrieve only 2 records.
Cheers,
Tai Vu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2025 08:39 PM
share your ref qualifier, seems you have not given it correctly
something like this should work
javascript:'sys_idIN' + 'sysId1,sysId2'; // give sysId of question_choice records which you wish to show
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader