Variable reference qualifier

ebaileyybs
Tera Expert

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:

find_real_file.png

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:

find_real_file.png

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;

1 ACCEPTED SOLUTION

ebaileyybs
Tera Expert

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.


View solution in original post

9 REPLIES 9

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...


Abhinay Erra
Giga Sage

My bad, I have overlooked your question. Variable attributes are needed only when you are writing a reference qualifier for lookup select box variables.


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


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


ebaileyybs
Tera Expert

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.