How to get an array object into an for-each flow designer

SandeepKSingh
Kilo Sage
 
3 ACCEPTED SOLUTIONS

Animesh Das2
Mega Sage

Hi @SandeepKSingh ,

 

You could simply use the data pill picker to select the triggered record's field changes as shown below. I simply created a flow with Trigger as 'Record updated' on Incident table. Then trying to get all the field changes for the current incident record that is triggering the flow.

AnimeshDas2_0-1727936825193.png

 

If that is not you are looking for then please elaborate your requirement and if possible share the SS of your flow that what exactly you are trying to do.

 

If this address your question, please mark this response correct by clicking on Accept as Solution and/or Kudos.

You may mark this helpful as well if it helps you.

Thanks, 

Animesh Das

View solution in original post

Barath P
Tera Guru

Hi @SandeepKSingh 
As I understand it, to retrieve a variable in a 'For Each' flow logic (such as from a catalog item), you can use data pills. Data pills represent variables, fields, or other values, and they can be dragged into the 'For Each' action to be used as values. If you provide more i'll try to help you.

"If you found my answer helpful, please give it a like and mark it as the accepted solution. It helps others find the solution more easily and supports the community!"

 

Thanks & Regards,

Barath.P



View solution in original post

Ravi Gaurav
Giga Sage
Giga Sage

Hi @SandeepKSingh 

 

you will have to iterate using For each action

you possibly need to convert that into array

Flow Designer



--------------------------------------------------------------------------------------------------------------------------


If you found my response helpful, I would greatly appreciate it if you could mark it as "Accepted Solution" and "Helpful."
Your support not only benefits the community but also encourages me to continue assisting. Thank you so much!

Thanks and Regards
Ravi Gaurav | ServiceNow MVP 2025,2024 | ServiceNow Practice Lead | Solution Architect
CGI
M.Tech in Data Science & AI

 YouTube: https://www.youtube.com/@learnservicenowwithravi
 LinkedIn: https://www.linkedin.com/in/ravi-gaurav-a67542aa/

View solution in original post

3 REPLIES 3

Animesh Das2
Mega Sage

Hi @SandeepKSingh ,

 

You could simply use the data pill picker to select the triggered record's field changes as shown below. I simply created a flow with Trigger as 'Record updated' on Incident table. Then trying to get all the field changes for the current incident record that is triggering the flow.

AnimeshDas2_0-1727936825193.png

 

If that is not you are looking for then please elaborate your requirement and if possible share the SS of your flow that what exactly you are trying to do.

 

If this address your question, please mark this response correct by clicking on Accept as Solution and/or Kudos.

You may mark this helpful as well if it helps you.

Thanks, 

Animesh Das

Barath P
Tera Guru

Hi @SandeepKSingh 
As I understand it, to retrieve a variable in a 'For Each' flow logic (such as from a catalog item), you can use data pills. Data pills represent variables, fields, or other values, and they can be dragged into the 'For Each' action to be used as values. If you provide more i'll try to help you.

"If you found my answer helpful, please give it a like and mark it as the accepted solution. It helps others find the solution more easily and supports the community!"

 

Thanks & Regards,

Barath.P



Ravi Gaurav
Giga Sage
Giga Sage

Hi @SandeepKSingh 

 

you will have to iterate using For each action

you possibly need to convert that into array

Flow Designer



--------------------------------------------------------------------------------------------------------------------------


If you found my response helpful, I would greatly appreciate it if you could mark it as "Accepted Solution" and "Helpful."
Your support not only benefits the community but also encourages me to continue assisting. Thank you so much!

Thanks and Regards
Ravi Gaurav | ServiceNow MVP 2025,2024 | ServiceNow Practice Lead | Solution Architect
CGI
M.Tech in Data Science & AI

 YouTube: https://www.youtube.com/@learnservicenowwithravi
 LinkedIn: https://www.linkedin.com/in/ravi-gaurav-a67542aa/