Placing multi row variable set inside a variable set.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2024 11:49 PM
Hi All,
Is it possible to create a multi row variable set inside another normal variable set.
Use case: I have to place the Multi row variable set between the variables in another variable set. As of now the mvrs will only display either below or top of the variables that are part of the variable set.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2024 11:56 PM
Hi @nrupankrishna
ServiceNow does not natively support embedding a Multi-Row Variable Set (MRVS) within another standard variable set directly in a manner where the MRVS can be interspersed between individual variables of the parent set. Multi-Row Variable Sets (MRVS) and standard variable sets are designed to be modular blocks to simplify the creation and management of complex forms, especially in the Service Catalog or within Record Producers. This design principle, however, leads to some limitations on how flexibly these elements can be combined or displayed.
Common Layout Constraints:
- Variable Sets: Serve as containers for a collection of variables. They allow for grouping related variables together, which can then be added to catalog items or record producers. However, the way variables are displayed is generally linear – they follow the sequence in which they are added to the variable set or catalog item.
- Multi-Row Variable Set (MRVS): A special type of variable set that lets users add multiple rows of data, similar to a spreadsheet. It’s particularly useful for capturing repeated sets of data. MRVS itself acts almost like a singular variable from the perspective of the parent form (catalog item or record producer).
Note: Please Mark this Helpful and Accepted Solution. If this Helps you to understand. This will help both the community and me..
- Keep Learning
Thanks & Regards
Deepak Sharma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2025 08:59 AM
I would like an alternative solution to be presented to this question. In my case, I want a requestor to be able to add multiple users to multiple groups. In the case of the users, this is possible using a List Collector because the users are available under (sys_user). There is no database for AD groups, nor do we want to try and maintain one. Currently, we are forced to use a Multi-line Text variable, but we cannot easily use this as an array/list in our workflows. It would be great to include a MRVS in this question set, so the user can add multiple groups that will be treated as an array within Flow Designer.
What is the recommendation here?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2024 01:18 AM
Hi @nrupankrishna ,
You will have to create a dedicated variable set for this requirement as needed. You can align variables as needed as using it catalog but there is not option to embed or merger two varaible set or varaibles.
You will just have to play with variables and variable set. Suggest to create a dedicated variable set with your new other and see if you have reusablity for it in future....
I hope this helps...
☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....