The Zurich release has arrived! Interested in new features and functionalities? Click here for more

In Multi row variable set, users should not able to select the values.

KallaSpandana
Giga Expert

Hi,

 

Here i had added the multi row variable set in the catalog form, in that two variables are list collector type where it was reference to "user" table. So, here whenever user selects the values in the first variable, those values should not get visible in the second variable. How it is possible? Can anyone please help on this . @Ankur Bawiskar 

 

Thanks,

Spandana.

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@KallaSpandana 

you can add advanced ref qualifier in 2nd variable

replace your 1st variable name here

javascript:'sys_idNOT IN' + current.variables.firstVariableName;

Also in variable attributes for 2nd variable add this

ref_qual_elements=firstVariableName

AnkurBawiskar_0-1746704581832.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

2 REPLIES 2

KallaSpandana
Giga Expert

It should not get visible or else it should not allow user to select the values which are selected in variable 1 

Ankur Bawiskar
Tera Patron
Tera Patron

@KallaSpandana 

you can add advanced ref qualifier in 2nd variable

replace your 1st variable name here

javascript:'sys_idNOT IN' + current.variables.firstVariableName;

Also in variable attributes for 2nd variable add this

ref_qual_elements=firstVariableName

AnkurBawiskar_0-1746704581832.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader