web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Combining 2 arrays usi...
Power Automate
Unanswered

Combining 2 arrays using union action and emailing the array

(0) ShareShare
ReportReport
Posted on by 42

I have two arrays, and i combined them using a union action. This is my union action 

union(variables('varpartnerBycustomer'), variables('PartnerByCapability')). Here, Variable one is one of my arrays, and the 2nd variable is the 2nd array in the expression.

 

But when i that this value and put the output in the email since it contains emails, i am not getting emails.

 

b9c0bca6-1f7a-4ab8-9c9d-36ad5a31f0f7.jpg

 

But even after trying it with replace action replace(union(variables('varCustomerByPartner'), variables('capability')), ',', '')

I can't change the values and have errors in the replace action.

 

How can I fix this issue by changing the comma into a semicolon and sending me a screen shot if you have any other way to combine the array with unique values and use it to email?

 

Categories:
I have the same question (0)
  • Aswath1 Profile Picture
    42 on at

    But even after trying it with replace action replace(union(variables('varCustomerByPartner'), variables('capability')), ',', '')

    I can't change the values and have errors in the replace action.

    At this line the replace action expression is replace(union(variables('VarpartnerByCustomer'), variables('VarpartnerByCapability')), ',', ';').

     

    use this as a reference to see my problem 

  • Aswath1 Profile Picture
    42 on at

    Plz help me with the flow screen shorts and what to add where in the flow

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 58

#2
David_MA Profile Picture

David_MA 53 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 36 Most Valuable Professional

Last 30 days Overall leaderboard