We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Multirow variable set inside a notiication

LT_23
Tera Contributor

Hello, so my use case is to send a notification to the managers of the employees selected inside a multirow variable set , but when trying to dot walk it in flow designer it doesnt work.How can I achieve this ? any help will be very appreciated, and thank you in advance.  

laminethiam_0-1771178204832.png

 

5 REPLIES 5

Tanushree Maiti
Giga Sage

Please refer this links, see if it helps you:

 

Solved: How do I iterate through a multi row variable set ... - ServiceNow Community

how to get multi row variable set variables in flo... - ServiceNow Community

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

Aditya_hublikar
Mega Sage

Hello @LT_23 ,

 

If you have to access mrvs in flow then you need to iterate that mrvs using foreach loop then you can access individual variable row (variable set) and then send mail to required user.

 

You can refer this thread :

https://www.servicenow.com/community/servicenow-ai-platform-forum/how-do-i-iterate-through-a-multi-r...

 

For accesing mrvs in script:

Multirow variable set is stored as JSON array if you have to access it then you need to parse it using JSON.parse(multirow variable set name). After that you have to apply loop on it to access individual variable row then you can use that in your code .

 

 

If this helps you then mark it as helpful and accept as solution.

Regards,

Aditya,

technical Consultant

 

 

Hello @LT_23 ,

 

I hope you are doing well. Does my response helps you ?

 

If my response helps you then mark it as helpful and accept as solution.

Regards,

Aditya,

Technical Consultant

Ankur Bawiskar
Tera Patron

@LT_23 

you can iterate over the MRVS and then use "Send Email" flow action to send email

see this gif on how to do this in flow, also attached it in post

 

AnkurBawiskar_0-1771216793504.png

 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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