Issues that you did not know about a multi-row var... - ServiceNow Community
Subha V
ServiceNow Employee
ServiceNow Employee

Use a multi-row variable set (MRVS) to capture variable data in a grid layout while submitting a catalog item request for a group of entities. 

Common scenarios for using a multi-row variable set 

A multi-row variable set is generally used when you need multiple entries for a variable in a catalog item request.   

For example, when you order a catalog item for your team, you might need multiple entries for few variables to specify each team member’s requirement. When you order shirts for your team, you will need multiple entries for variables such as size and color. 

Another example is blocking few combinations of IPs and ports via firewall, where you will need multiple entries for variables, that is, IPs and ports.  

Limitations 

Here are a few limitations for a multi-row variable set.

  • You cannot include the following variable types in a multi-row variable set:
    • Break
    • Container End 
    • Container Start 
    • Container Split 
    • HTML 
    • Label 
    • List Collector 
    • Macro 
    • Macro with label 
    • UI Page 
  • The Map to field functionality is not supported for variables used in a multi-row variable set. 
  • Cascading functionality for variables in an order guide is not supported for a multi-row variable set. 
  • A multi-row variable set is not displayed when added within a container. 
  • A multi-row variable set is supported in the variable summarizer only in Service Portal. 
  • You cannot add variables with read roles in a multi-row variable set. 
  • When you clone a request that contains a multi-row variable set, the information that is specified in the multi-row variable set is available in all cloned requests. All UI policies and client scripts on the multi-row variable set are also cloned. 
  • Set a limit to the number of rows that you can add to a multi-row variable set by using the max_rows attribute in the Variable Set attributes field. 

To know more about unsupported features in a MRVS, see the documentation. 

Known issues

 

Issue

Fixed in London

Fixed in Madrid

Fixed in New York

Fixed in Orlando

Requested item (RITM) form view is broken when variables are added to the set after the RITM is created.  London Patch 10 Yes Yes Yes
getRowCount and getRow functions do not work on MRVS when accessed from scope. NoYes Yes Yes

MRVS in record producer won't get carried to the target record’s variable editor. It happens in two scenarios: 

  • When you save the record producer first and then submit it later. 
  • When you include the record producer in an order guide and then submit it later
NoNoNoYes
The MRVS edit row is broken in portal view on task forms. NoYes Yes Yes
After an upgrade to Madrid, no images appear in the wizard shown to select the type of variable set while creating variable sets. This happens if the Exclude large attachment option is selected.NoNoYes Yes
After you add an item with MRVS to the cart, you cannot add rows when Email/URL variables are part of the MRVS. NoNoYes Yes
 After you add a row to MRVS, you cannot submit the item or add the item to the cart when the MRVS has Email/URL variablesNoNoYes Yes 

Issues with special characters used in Multi-Line Text and Text variables in MRVS. Usually, the edit row functionality is affected. Mostly, console errors and setting the glide.ui.escape_all_script property to false caused these issues. 

  • The Edit Row button does not work properly for a MRVS when any of the string field value contains "+" sign.
  • MRVS remained mandatory even after adding a row.
NoNoYes  Yes

Issues with special characters used in Multi-Line Text and Text variables in MRVS. Usually, the edit row functionality is affected. Mostly, console errors and setting the glide.ui.escape_all_script property to false caused these issues. 

  • The text containing " " is not saved in multi-line text variables within MRVS. 
  • Multi-line text variables within MRVS show up as empty/blank when editing, if the text entered for the variables contains new lines. 
NoNoNoYes
MRVS values are not available in after insert business rules. NoNoNoYes
Advanced Reference Qualifiers do not work in Platform for Lookup questions. NoNoNoYes

 In a domain separated environment, when the 

glide.sys.domain.use_record_domain_for_client_scripts is true, 

MRVS form modal is broken. 

NoNoNoYes
Portal ticket page doesn't show MRVS data. NoNoYes Yes
MRVS rows on RITM are not in the same order that they were while ordering.  NoMadrid Patch 2Yes Yes
Issues existed with saving a RITM form when MRVS is present in the variable editor. 

When a variable editor has a MRVS that is made read-only due to a client script or a UI policy, it prevented from saving the RITM.

NoNoNew York Patch 3Yes
The RITM form gets saved properly but the MRVS data drops all the rows in it.  NoNoNew York Patch 5Yes

There were issues with Date and Date Time variables, mostly related to the system format that is anything other than YYYY/mm/dd. 

In Portal, date picked in the MRVS modal is not the same as the date on the grid view. 

London Patch 4Yes Yes Yes

There were issues with Date and Date Time variables, mostly related to the system format that is anything other than YYYY/mm/dd. 

Date variables submitted from Portal are corrupted when viewed on RITM.

London Patch 9 Madrid Patch 4 Yes Yes 

There were issues with Date and Date Time variables, mostly related to the system format that is anything other than YYYY/mm/dd. 

Date variables submitted from Service Portal are corrupted when viewed on the target record of a record producer. 

London Patch 9 Hot Fix 2 and London Patch 10Madrid Patch 6New York Patch 1 Yes
When you press Enter on Cat item view in Portal, it opens multi-row form modal. NoMadrid Patch 8Yes Yes
When MRVS is added, after the cart items or RITMS are created, form views of such cart items and RITMS are broken. London Patch 8Yes Yes Yes
The catalog task form breaks when you click the reference icon of the requested item field. NoMadrid Patch 7Yes Yes
 MRVS doesn't appear in printer-friendly view. London Patch 5YesYes  Yes
Saving task forms with MRVS on portal will throw console errors.NoMadrid Patch 8Yes Yes
Dirty form popup appears on clicking checkout in checkout modal. When MRVS is present in an order guide, you will see a dirty form warning while checking out on portal. London Patch 10YesYes  Yes
Values are missing for MRVS when the catalog client scripts are used. When an item is ordered from Portal, this issue can be observed on RITMs. NoNoYes  Yes
JSONv2 processor does not return the value for multi-row variables when 'displayvariables=true' is sent.NoNoNoYes
The Copy UI action on a request doesn't copy MRVS. NoNoYes Yes
An Item with MRVS mandatory can be submitted from portal without adding a row. NoYes Yes Yes
When you click the Add button multiple times before modal open, it may result in adding duplicate rows and thus violate the attribute that limits the rows that can be added. NoNoYes Yes
The MRVS row price doesn't get added to the total price on item in PortalNoNoNoYes
When the MRVS itself is not mandatory but some variables in it are mandatory, it preventsubmitting the item via Service Catalog API. NoNoYes Yes
The label of a MRVS is not translated on ticket view page.  NoNoNoYes
Viewing RITMs with MRVS will log ECMA errors. NoNoNoYes
There are issues on few IE browser versions while using MRVS. You won’t be able to edit data in the row once added. 

The latest IE (IE 11.0.110) doesn't have the issue. 

No fix requiredNo fix requiredNo fix requiredNo fix required
18 Comments