Multi Row Variable Set Access Values
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-21-2025 04:18 AM - edited ‎01-21-2025 04:29 AM
Hi guys, what's up?
I have a catalog item that has a multi row variable set. For this item I have a flow that generates a new RITM for each row inserted in the variable set. However, I need to add a new rule so that for each new task in each RITM the short description is automatically set according to the 'solicitud' variable (which is of type choice) in my multi row variable set. I'm trying to make this script inside the Create catalog task action, in the short description field, but I'm having trouble accessing the values of the variable inside the mrvs, could you help me?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-21-2025 04:35 AM - edited ‎01-21-2025 05:05 AM
I managed to do it this way, but I brought the value and I'd like the display name...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-21-2025 06:44 AM
what type of variable is it? Is it a drop down with choices?
then you need to use script if it's choice
return fd_data._16__for_each.item.server_os.getDisplayValue(); // select the correct for each action and variable name
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-21-2025 06:55 PM
Hope you are doing good.
Did my reply answer your question?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader