How to hide a variable of multi-row variable set based on Out of MRVS variable choice

Anusha Anus
Tera Expert

Hello, @Brad Bowman  , @Ankur Bawiskar , @Sujatha V M 

 

 

When I try to create UI policy out of MRVS on catalog item item, I am not able to select variable of MRVS on UI policy action.  I can select only backend name MRVS. But I want to select MRVS variable to set visible false, when Out of MRVS variable  choice value.

 

IS IT POSSIBLE...... Any suggestions please..

 

Thanks,

Anusha.

3 REPLIES 3

Ankur Bawiskar
Tera Patron
Tera Patron

@Anusha Anus 

you will have to create catalog UI policy which applies to variable set, select the MRVS and then your variable

but remember using this UI policy you can show/hide or manipulate variables within MRVS and not outside ones

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

Mark Roethof
Tera Patron
Tera Patron

Hi there,

 

Can you give an example of what you are after?

 

Just reading it doesn't sound logical (and is not out-of-the-box an option). Because you want a UI Policy outside of the MRVS, to take action on a Variable in the MRVS. But the MRVS can contain multiple rows and possibly every row different values. So on what should the UI Policy outside of the MRVS take action then?

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

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

LinkedIn

Sujatha V M
Kilo Patron
Kilo Patron

@Anusha Anus Just adding my suggestions along with others, 

 

UI policies defined within the variable sets will work only within that but not for the variables defined outside as it applies to 'Variable set' only. 

 

SujathaVM_1-1720077175765.png

 

If you want to apply to the catalog item, then you can select the variable set values and apply the respective options.

SujathaVM_2-1720077376204.png

SujathaVM_3-1720077482758.png

 

Kindly don't define the policies in both places as it will cause conflicts. 

 

Reference : Service Catalog UI Policies not working or firing in expected order : https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0551679

 

Please mark this as helpful and accept it as a solution if this resolves your query.

Thanks,

Sujatha V.M.

 

 

Please mark this as helpful and accept it as a solution if this resolves your query.
Sujatha V.M.