Showing results for 
Search instead for 
Did you mean: 

Merge Arrays Outside of a For Each

I am using a for each action and creating an array within it - I would like to merge those arrays into a single array (through a union or whatever means) outside of the for each so I am left with a single array.


Is there a way to do that?

Community Support
Community Support

Hi WiggityZwiggity,


May you consider to use the Join action. We could join a list of strings using this action. Please check this blog at here:


Please try it on your side to see if it will work for you.


Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Top Solution Authors
Top Kudoed Authors
Users online (9,016)