- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-02-2015 05:50 AM
I've been looking through the WIKI/community and it seems like there is a bug with reference qualifiers on Lookup Select box variables. Does anyone know if there is a work around besides making the field a reference variable?
I have 3 variables on a form -- each dependent on the last. The first is a lookup select box and I'd like the second to be a lookup select box with a reference qualifier because setting it as a reference variable gives the same information as the third variable. I've tried only showing the columns I want (with attributes), but it still shows too much.
Is there another angle I can take? Building the list with a script? I only want to show unique values. Any ideas/help would be greatly appreciated because I think I've exhausted all the options I can think of. Thanks!
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-03-2015 06:35 AM
Seems like we all have been trolled here Look up select supports reference qualifier but it's not simple as reference field..
Check the wiki page
http://wiki.servicenow.com/index.php?title=Variable_Types#Lookup_Select_Box
We need to use 'ref_qual_elements' attribute to get the updated reference working..
I am able to do the dynamic thing working after adding the attribute...
Sample demo:
Create 2 lookup select variable called 'located_at' and 'user' referring location and user table respectively.
Idea here is to display the user depending on the location selected...
In the user variable, define reference qual as javascript: 'location='+current.variables.located_at; and variable attribute as ref_qual_elements=located_at
This will make the variable to use the updated reference. Try this out and let me know if this works for you as well.
Note: I tried on Fuji instance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-31-2015 06:59 AM
Hi ,
As shown in the following pic, I have two reference fields
the sales contact is a reference to contact table and the Users field is a reference to [sys_users] table. based on what is selected from the sales contact options, the users options should be narrow down. Any help would be appreciated!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-15-2016 12:31 AM
I want the same type of function to work...whatever the credentials u have provided is not working kindly help.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-15-2016 08:07 PM
That was a demo instance and as you know it gets refreshed everyday.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-19-2015 01:39 PM
Hi Kalai,
Could you please share me the script as we have a simliar requirement of this kind.
Thanks,
ponns

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2015 12:36 PM
I dont have the backup for this as I developed on demo .... Blair Reinhart Can you share it if you have ???