Hide one variable in multi row variable set based on condition

DeekshithK
Tera Contributor

Hide one variable in multi row variable set based on condition

5 REPLIES 5

Viraj Hudlikar
Giga Sage

 

Hello @DeekshithK 

 

You can write ui policy set your condition and in ui action selects variable which needs to be actioned.

If you are unable to do so or any other blocker do share screenshot or more details so we could help you.

 

If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.

 

Thanks & Regards
Viraj Hudlikar.

Ankur Bawiskar
Tera Patron
Tera Patron

@DeekshithK 

what's your business requirement?

You can show/hide variable within MRVS using onLoad catalog client script Which applies to your MRVS variable set or Catalog UI policy

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

DeekshithK
Tera Contributor

In catalog item i hv one multi row variable set in that i hv to hide one variable based on other variable choice 

@DeekshithK 

the variable within MRVS needs to be hidden based on outside variable?

If yes then you can access the outside variable within onLoad catalog client script which applies to MRVS using this

var applicationType = g_service_catalog.parent.getValue("variableName");

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