logo

NJP

Multi row variable set functionality - New feature

Import · Feb 18, 2019 · article

We always come across a common requirement for catalog items to add a table to record more than one value in a spreadsheet format. We usually go through a lot of trouble trying to build an UI page/macro from scratch and the process to paste all the values back into the RITM is also a tiring process altogether. ServiceNow has finally addressed this issue with a new feature called the multi row variable set.

Sample Multi row variable set:

image

image

Auto-Populating rows on this variable set:

There was a requirement in one of our engagement to populate the list of assets into the RITM for update/retire but as an approver or a fulfillment user they would need more than just the name of the asset in the list collector on the RITM. To tackle this, we have created a multi row variable set to populate the Serial Number, Model Category, Model & State values of the respective assets selected in List collector variable automatically using an ‘OnChange’ client script. Attaching script and more details since it isn’t the usual approach.

Select an asset in List Collector:

image

Asset selected in List collector is auto populated with all the values in Multi Row variable set:

image

image

Please find attached script to auto populate values of asset selected.

Note: You cannot set Global as ‘True’ for multi-row variable set variables and variables will be shown only on RITM but not on Catalog task.

Please refer below link to know more details on multi row variable sets:

https://docs.servicenow.com/bundle/london-it-service-management/page/product/service-catalog-managem...

Please mark the answer as helpful and if it helped bookmark it..!!!

Thanks & Regards,

Chalan

View original source

https://www.servicenow.com/community/itsm-articles/multi-row-variable-set-functionality-new-feature/ta-p/2301835