Reference Qualifier on Variable Set based on Variable on the record producer

rashmianish
Kilo Expert

Hi All,

I have a record producer with few variables and a variable set. A variable named 'Client name' is created as a variable and the Variable set has Policy details.

Requirement is - based on the Client name selected in the 'Client name' field, the policy type and policy number should be filtered. I have tried writing a catalog client script on the variable set; however Variable on the form is not available to write Onchange/ Onload while writing the script on variable set. Any help on this is much appreciated. 

find_real_file.png

 

7 REPLIES 7

Hi Deepak,

 

Thanks for the references. All the above works in a scenario where both fields are created as variables of a catalog item/record producer. In my case one field is a variable and the other 2 fields are part of a variables set. 

I am trying to establish a connection between the variable and the variable set, where 'current.variable...' does not work. 

Goran WitchDoc
ServiceNow Employee
ServiceNow Employee

Hi,

 

Is here any reason for not having the Client Name variable inside the variable set as well, since you want to put the catalog client script inside the set? Otherwise you might as well set the client script on the RP instead.

 

I made a video of a couple of ways of doing dependencies and only 1 of them actually requires a catalog client script. So take a look here and it might give you some idea of other solutions for this.

 

Link of the embedded video doesnt work: https://www.youtube.com/watch?v=UyyXNKiYLMA

 

Hi Göran,

 

An informative and elaborate video, it did help me understand more about advance ref qualifiers. I shall work on an alternative solution and let you know how this goes.

Thank you 🙂