How do I read the values of variables in multi row variable set ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-14-2019 02:07 AM
How do I read the values of variables in multi row variable set ?
I have create a multi row variable set for catalog item form in Service portal.
So that I can add multiple disk spaces just by clicking on add.
How do I read the values of those variables in workflow?
I have tried using "current.variable_pool.disk_space.getDisplayValue()" and also current.variables.disk_space.getDisplayValue().
But I am not able to read the values of variables in variable set.
Please help me on this.
Thanks,
Meghana P
- Labels:
-
Service Catalog

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-15-2019 01:56 AM
I will do a small test to simulate. One moment 🙂
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-15-2019 01:57 AM
Thanks Mark:)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-15-2019 02:03 AM
I'm instantly getting below in logging:
Only tested with a Run Script step in the workflow containing:
gs.info(current.variables.disk_space);
(I named my MRVS "disk_space")
If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
---
LinkedIn
Community article list
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-15-2019 02:04 AM
Can you share your exact Run Script utility script? And what is the internal_name of your Multi-Row Variable Set?
If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
---
LinkedIn
Community article list
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-15-2019 02:24 AM