reference qualifier used in a variable set

Jeff316
Kilo Guru

I have a variable set with 4 variables. 1 of the 4 variables needs a reference qualifier to be based on a regular variable on this same request record. javascript:'u_os='+current.variables.operating_system_version.u_tag      This lookup variable returns all values from the lookup table and ignores the ref qualifier. Can a variable in a variable set reference variables on the parent form? 

6 REPLIES 6

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi User,

 

Are you referring to Multi-Variable Set here?

 

-Pradeep Sharma

 

Hello again Pradeep,

Yes, the variable set on my request for is a multi-row variable set.  

I'm hoping you aren't going to say ref qual can't be used on a multi-row variable set. 

As a side note: I really like the new multi-row.

Hello @user_316,

 

Thanks for the update. As of this writing, Variables that are not included in a multi-row variable set cannot be used in dependent reference qualifiers for variables in the multi-row variable set. Similarly, the variables included in the multi-row variable set cannot be used in dependent reference qualifiers for variables that are not in the multi-row variable set. For a reference qualifier, the current row is the one that is being edited.

 

-Pradeep Sharma

Ugh.

Should have known I have the requirement to reference a variable not in the variable set.  So even if I put all the variables into a variable set the fact that the multi-row variable is a set of its own still won't work or can I reference a variable in one variable set to another variable set? 

For example, I have 2 variable sets on my catalog item. 1 variable set are all the questions to the user and the other variable set is the multi-row set. I'm going to guess this wouldn't work either? 

I'm also going to guess, because you haven't suggested it, is to pass the variable I need to the pop-up window that contains the multi-row variables?