Making Multi row variable set visible when a particular variable is selected

esha11
Giga Contributor

Hi All , 

 

I have used a Multi  row variable set  in a service catalog .Now the variables of that Variable set  should be visible when request type is Firewall .

find_real_file.png

 

then the Multi variable set should be visible :

find_real_file.png

However in catalog UI policy there is no option to see the Multi variable set variable.

Can anyone help me to achieve the requirement ,.

 

 

6 REPLIES 6

Brad Tilton
ServiceNow Employee
ServiceNow Employee

You may need to use a ui policy script to do g_form.setDisplay('variable set name', true); and false. Something like this:find_real_file.png

Hi , 

 

Thanks for the reply tried above code , however it didn't worked .

 

find_real_file.png 

 

find_real_file.png

Mark Roethof
Tera Patron
Tera Patron

Hi there,

This should be possible thru Catalog UI Policies. The MRVS name should be visible to select.

You do mention that you don't see the MRVS. Can you share a screenshot of your Catalog UI Policy Action? Can you share what you exactly tried?
For example, I would expect a Catalog UI Policy with a condition like Type of Request is Firewall Request, and a Catalog UI Policy Action with visible is true and variable name is your MRVS.

As example, a screenshot from one of our forms using MRVS. Instance is on Madrid. Travel expenses is in our case a MRVS.

find_real_file.png

If my answer helped you in any way, please then mark it as helpful.

Kind regards,
Mark

---

LinkedIn

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

Hi Mark , 

 

The method you have mentioned could be applicable for Variable set , because in variable name you will be able to find the name of variable .However ,i am using Multi row variable set .Their variables are not visible in the available variable list .