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 / Pass multiple values f...
Power Automate
Answered

Pass multiple values from PowerApps to Flow

(0) ShareShare
ReportReport
Posted on by

Hi,

I have a PowerApp with a combobox where a user can select 1 to n different companies.

f1.png

I need to pass on those values to a Flow.

Because I don't know how many elements will be selected, I created a single compose element in Flow that should hold a string that separates the different companies by a comma.

The question is how to embed the different elements into the Flow run equation that is selected in the PowerApp?

The problem is that I can enter only a single text that I hardcoded in the following screen to "0100"

f2.png

If I replace "0100" with the combobox selection then I get an error because of the multiple elements that are selected.

Question: Is there a way to put the different selected companies into a kind of container that I then enter in the Flow run equation?

Would be great if one could help.

Many thanks,

Ludwig

 

 

 

Categories:
  • Pstork1 Profile Picture
    69,665 Most Valuable Professional on at

    Add the choices to a collection in Power Apps and pass the collection as a single array to the flow.  Then either unpack the array or use an Apply to Each to process the parameters passed.

     

     

  • Ludwig Reinhard Profile Picture
    on at

    Hi Pstork1, 

    Can you help me with that?

    How do I pass the collection as a single array?

    If I enter the collection "CompaniesSelected" with the field "LegalEntityId" into the expression then I get an error message. 

    ....Run(CompaniesSelected.LegalEntityId, 

    and if I try

    ....Run(CompaniesSelected

    I also get an error

    What's the trick that would pass this as a single array?

    Best regards, 

    Ludwig

     

     

  • Verified answer
    v-litu-msft Profile Picture
    Microsoft Employee on at

    Hi @lreinhard7,

     

    There are some posts about how to pass a collection from PowerApps to Flow, you could have a reference to them firstly:

    https://powerusers.microsoft.com/t5/Building-Power-Apps/Passing-the-PowerApps-Collection-to-MS-Flow/m-p/299054

     

    https://powerusers.microsoft.com/t5/Building-Power-Apps/Using-ForAll-to-run-a-Flow-and-pass-in-parameters-from-a/m-p/449002

     

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

     

  • Ludwig Reinhard Profile Picture
    on at

    JSON seems to work like a charm 🙂

    Many thanks for the help. 

    Ludwig

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 321 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 271

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard