Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to display only Multi-Row Variable Set (MRVS) data from a Record Producer on the Incident form?

Nikhil C
Tera Contributor

Hi everyone,

I'm working with a Record Producer that creates records in the Incident table. The Record Producer includes a Multi-Row Variable Set (MRVS) named mobile_devices_set, which contains variables like device_type, storage, color, and quantity.

I want to display only the MRVS data on the Incident form after submission.

I’ve tried using the default UI Macro:
com_glideapp_questionset_default_question_editor
and added the Variable Editor formatter to the Incident form. This works, but it displays all variables from the Record Producer — I only want the MRVS data to be shown.

Is there a way to:

  • Create a custom UI Macro that renders only the MRVS?
  • Or configure the Variable Editor to filter and show only specific variable sets?

Any guidance or examples would be greatly appreciated!

Thanks in advance.

2 ACCEPTED SOLUTIONS

M Iftikhar
Tera Sage

Hi @Nikhil C,

You can achieve this by using a Catalog UI Policy on your Record Producer to selectively hide non-MRVS variables from the target record (i.e. the Incident form), while still displaying your Multi-Row Variable Set (MRVS) data.

  • Open the Record Producer that creates records in the Incident table.
  • In the Catalog UI Policies related list, click New and configure the policy as follows:
    • Name: Hide Non-MRVS Variables

    • Applies on a Catalog Item view: False (Uncheck)

    • Applies on the Target Record: True (Check)

    • On Load: True (Check)

    • Reverse if false: False (Uncheck)

  • Click Submit to save the policy and open the Catalog UI Policy again.
  • Scroll to the Catalog UI Policy Actions related list.

  • For each non-MRVS variable you want to hide:

    • Click New.
    • Set:

      • Variable name: Select the non-mrvs variable

      • Visible:False

    • Click Submit

Catalog UI Policy & Actions:
MIftikhar_0-1760961987994.png

Record Producer Form:

MIftikhar_1-1760962092163.png

Incident Form:

MIftikhar_2-1760962153066.png


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

 

Thanks & Regards,
Muhammad Iftikhar

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

View solution in original post

Ankur Bawiskar
Tera Patron
Tera Patron

@Nikhil C 

then hide the other variables using Catalog UI policy and Applies on Target Record

No other way to handle that.

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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

View solution in original post

2 REPLIES 2

M Iftikhar
Tera Sage

Hi @Nikhil C,

You can achieve this by using a Catalog UI Policy on your Record Producer to selectively hide non-MRVS variables from the target record (i.e. the Incident form), while still displaying your Multi-Row Variable Set (MRVS) data.

  • Open the Record Producer that creates records in the Incident table.
  • In the Catalog UI Policies related list, click New and configure the policy as follows:
    • Name: Hide Non-MRVS Variables

    • Applies on a Catalog Item view: False (Uncheck)

    • Applies on the Target Record: True (Check)

    • On Load: True (Check)

    • Reverse if false: False (Uncheck)

  • Click Submit to save the policy and open the Catalog UI Policy again.
  • Scroll to the Catalog UI Policy Actions related list.

  • For each non-MRVS variable you want to hide:

    • Click New.
    • Set:

      • Variable name: Select the non-mrvs variable

      • Visible:False

    • Click Submit

Catalog UI Policy & Actions:
MIftikhar_0-1760961987994.png

Record Producer Form:

MIftikhar_1-1760962092163.png

Incident Form:

MIftikhar_2-1760962153066.png


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

 

Thanks & Regards,
Muhammad Iftikhar

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

Ankur Bawiskar
Tera Patron
Tera Patron

@Nikhil C 

then hide the other variables using Catalog UI policy and Applies on Target Record

No other way to handle that.

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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