- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-31-2016 08:04 AM
I have created 3 reference on my record producer. I am trying to add a reference qualifier to filter out options based on the parent of the record.
Here are the variables:
The tables referenced here have parent field to show which record is the parent from the former table (eg: a Tier 1 record is the parent of a Tier 2 record) Please see below example:
I have tried using the following reference qualifier on u_tier_2 variable but it will not save and it is not narrowing down the options based on the qualifier. Does anyone know if i have got this wrong and what it needs to be please?
javascript: 'u_tier_1=' +current.variables.u_tier_1;
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-31-2016 08:27 AM
Turns out the reference qual field had somehow been added twice to the variable form which was clearing when saved in the secondary field.
The solution I had originally is working as required.
Thanks for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-31-2016 08:20 AM
Hi, thanks for this - I have changed my ref qual slightly but it still will not save in the ref qual field. Whenever I add it and then save the field clears.
I have logged an incident with HI as I believe this could be related to the fact I am working in a 'scoped' application and I always have problems with this...

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-31-2016 08:23 AM
My bad, I have overlooked your question. Variable attributes are needed only when you are writing a reference qualifier for lookup select box variables.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-31-2016 08:27 AM
Dont know if you were that fast, but this answered my question.. it was for a lookup select box I was doing it at
//Göran

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-31-2016 08:32 AM
Yes that is correct. Variable attributes are used for only lookup select box variable types.
Reference: http://wiki.servicenow.com/index.php?title=Variable_Types#Lookup_Select_Box&gsc.tab=0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-31-2016 08:27 AM
Turns out the reference qual field had somehow been added twice to the variable form which was clearing when saved in the secondary field.
The solution I had originally is working as required.
Thanks for your help.