Multi Row Variable Set Access Values

MariaVitorS
Tera Contributor

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?

 

MariaVitorS_0-1737461842713.pngMariaVitorS_1-1737461904627.png

 

7 REPLIES 7

Viraj Hudlikar
Tera Sage

Hello @MariaVitorS 

This article will help you How to Use Multirow Variable Sets (MRVS) in Flow Designer


If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.

 

Thanks & Regards
Viraj Hudlikar.

I managed to do it this way, but I brought the value and I'd like the display name...

MariaVitorS_0-1737465367410.png

 

MariaVitorS_1-1737465367384.png

 

 

Hello @MariaVitorS 

 

Unfortunately for choice variable the Display value is not that easy config available to get as its stored in different tables. I tried in PDI using below additional step by having subflow to get DisplayValue of question.

 

My Flow:

VirajHudlikar_1-1737472017743.png

 

My Subflow:

VirajHudlikar_2-1737472064586.png


Test Result:

VirajHudlikar_3-1737472094751.png

 

VirajHudlikar_4-1737472130900.png

 

If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.

 

Thanks & Regards
Viraj Hudlikar.

Ankur Bawiskar
Tera Patron
Tera Patron

@MariaVitorS 

so you might be iterating over each row of MRVS using For Each

There itself you will know which row it is so you can use the value

something like this

mrvs iterate.gif

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader