- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2017 03:05 PM
I am trying to use a lookup select box to display options based on the user using a reference qualifier. I have seen many references to it should work it won't work and am looking for if this can work and how. I am using as my ref qual javascript:'u_user_uuid='+current.variables.vm_user; . This works when I am using a Reference table perfectly but this just seems to show the first entry in the table when the form loads and doesn't change with the user. With the reference field it will work but shows only the sysid even though I have a different field set to show set to display true (that is a separate issue). So should this work or is there something else I have to add?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2017 06:11 PM
You need to add attribute ref_qual_elements=vm_user as it has to query again to the server with update value of referring field.
http://wiki.servicenow.com/index.php?title=Variable_Types#Lookup_Select_Box

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2017 12:19 PM
Hi Ajit, can you assist with my scenario in the discussion at the following link?
Advanced reference qualifier not working on Lookup Select Box
Thanks,
Teri

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2023 11:26 AM
@ajitchandragiri You saved my butt today w/ this info. Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2017 06:42 AM
HiAll,
I am trying the same thing.
In my Select Lookup Box i have :
Reference Qualifier : javascript: new getValues().GetActivity();
Attributes: ref_qual_elements=Operating_Sys;affected_ci_15
So it is working ( and has been for many years now ) on the CMS .
BUt my problem is on Istanbul Portal .
On Portal the
var server _id = current.variables.affected_ci_15; ( Script Include Class- getValues)
gives me a Undefined !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2017 10:51 PM
I am facing the same issue and even set ref_qual_elements but still it is not working in service portal.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2017 04:08 PM
where did you find ref_qual_elements
i dont have it on my form