- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2025 09:25 AM
Hello Folks,
I have a catalog form that has 2 variable sets, first variable set (Requested_for_details) and second variable set (computer details).
In my second variable set a have a reference variable called Computer_name, when the user select that variable, it must only show the computers assigned to the Requested_for user that was selected in the First Variable set (Requested_for_details).
I tried to do get it using reference qualifier javascript: "assigned_to=" + current.variables.requested_for
But it's not populating the computers, probably because it's in another variable set, can I do it using a client script? if yes, could you please give an exemple?
Thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2025 02:26 AM
the link I shared has working solution
SOLVED: Issue with MRVS multi row variable set accessing the form values
what configuration you did and what debugging did you perform?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2025 06:03 AM
It did not work, it might be because it's 2 different Variable Sets in the same form.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2025 06:09 AM
Should not be an issue if both the variable sets as "Single line" and not MRVS
please share the details for both the variable sets, screenshots etc
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
04-14-2025 06:16 AM
First Variable set is a Single row, where the Requested_for variable is.
Second Variable set is a Multi Row, where the Computer_name variable is and should only show computers assigned to Requested_for from the first Variable Set.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2025 06:23 AM
since the variable is present in MRVS, you cannot access it directly and hence not working
this link has solution on how to use outside variable to apply ref qualifier on variable within MRVS, please check and enhance
SOLVED: Issue with MRVS multi row variable set accessing the form values
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2025 03:46 AM
Hope you are doing good.
Did my reply answer your question?
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