Multirow variable set field visibility

Southsayer
Tera Expert

Hi Team,

I’m working on a requirement involving a multirow variable set that contains 10 fields.

  • For Catalog Task with order = 100, 5 fields should be visible.
  • For Catalog Task with order = 200, the remaining 5 fields should be visible.

I tried using g_form.getValue('order') within the catalog client script for the multirow variable set, but it doesn’t seem to work.

Could you please suggest an alternative approach or best practice to achieve this?

6 REPLIES 6

M Iftikhar
Tera Sage

Hi @Southsayer,

 

Create the onChange Catalog Client Script on Catalog Item (not on MRVS).

Thanks & Regards,
Muhammad Iftikhar

If my response helped, please mark it as the accepted solution so others can benefit as well.

Already tried it, not working..

Ankur Bawiskar
Tera Patron
Tera Patron

@Southsayer 

what do you mean by order 100 or 200?

is that a variable on your main catalog form i.e. it's an outside variable?

share some screenshots

 

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

Hi Ankur,

Order is a field on catalog task table

Southsayer_0-1763719717967.png

This is the variable set 

I want fields until Capex remarks on one catalog task 

and rest other 3 fields (Where name says CP&A) on another catalog task

Southsayer_1-1763719810346.png