difference between variables and variable sets

lalitha3
Giga Contributor

what is multi row varibleset?

4 REPLIES 4

Mark Roethof
Tera Patron
Tera Patron

Hi there,

Basically Variable Set is a "set" of Variables (and/or possible UI Policies, Client Scripts, etc.).

You can re-use the Variable Set on several Catalog Items, great for re-usability / consistency / maintainability / etc.. "Variable sets allow you to create a collection of variables that can be reused across multiple catalog items and order guides. Using variable sets saves time because you do not have to create the same variables individually for many catalog items. Also, when variables should be modified, you can modify the variable set and the changes are reflected across all the catalog items that are associated with the variable set."

Also see:
https://docs.servicenow.com/bundle/rome-it-service-management/page/product/service-catalog-management/concept/c_ServiceCatalogVariableSets.html

Kind regards,
Mark
2020, 2021 ServiceNow Community MVP
2020, 2021 ServiceNow Developer MVP

---

LinkedIn
Community article, blog, video list

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

Allen Andreas
Administrator
Administrator

Hi,

I've noticed you've asked a few short questions like this within the past day and while the ServiceNow Community is a great resource. The main goal (at least in my opinion) is that you learn.

It's recommended that you search the ServiceNow documentation yourself and then if you have specific questions, you can always ask on the forums.

Simply searching the ServiceNow Docs site or even google with: servicenow multi row variable set, which results in: https://docs.servicenow.com/bundle/rome-servicenow-platform/page/product/service-catalog-management/... -- which gets you to the same documentation Mark is referencing below.

Please mark reply as Helpful, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Hitoshi Ozawa
Giga Sage
Giga Sage

Check the answer to the following thread.

Variable is a field in a single catalog item. Variable set is a collection of variables that can be reused in several forms. Variable set may also include UI Policies and Client Scripts that will also be re-used in different forms.

https://community.servicenow.com/community?id=community_question&sys_id=bfc7cfe9db1cdbc01dcaf3231f96...

There are 2 types of variable sets: Single-row variable set and Multi-row variable set. The type is chosen when creating a variable set and can not be changed after it is created.

Single-row variable set will be displayed like a list of variables.

Multi-row variable set will be displayed as a table. User will be able to add/edit/delete rows in a table.

https://docs.servicenow.com/bundle/rome-servicenow-platform/page/product/service-catalog-management/...

JoePremKumarG
Tera Contributor
In ServiceNow, a multi-row variable set (MRVS) is a type of variable set that allows you to capture multiple entries of the same variables in a grid-like format, similar to a spreadsheet, within a single catalog item or record producer request. It's designed for situations where you need to collect repeating data for a group of entities, like specifying different configuration options for multiple pieces of hardware or entering details for multiple team members in a single request. 
 
Key Features and Use Cases:
  • Grid Layout:
    MRVS presents variables in a tabular format, with rows representing individual entries and columns representing different variables. 
     
  • Multiple Entries:
    Allows users to add an arbitrary number of rows, making it suitable for scenarios requiring multiple entries for a single variable. 
     
  • Reusable Variables:
    Like other variable sets, MRVSs can group and reuse variables across different catalog items or record producers. 
     
  • Examples:
    • Ordering multiple computers with different specifications. 
       
    • Specifying different access rights for a group of users. 
       
    • Entering details for multiple employees during a reorganization. 
       
 
Limitations:
  • Variable Type Restrictions:
    MRVSs do not support certain variable types, including break, container start/end, HTML, label, list collector, and macro. 
     
  • "Map to Field" Restriction:
    The "Map to Field" functionality is not available for variables within an MRVS. 

Multi row variable set functionality - New feature

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

 

Exploring Multirow variable sethttps://www.servicenow.com/community/developer-blog/exploring-the-multi-row-variable-set/ba-p/229153...