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

Community site session details

Session Id :
Power Automate - Building Flows
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

 

 

 

I have the same question (0)
  • Pstork1 Profile Picture
    68,319 Most Valuable Professional on at
    Re: Pass multiple values from PowerApps to Flow

    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
    Re: Pass multiple values from PowerApps to Flow

    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
    on at
    Re: Pass multiple values from PowerApps to Flow

    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
    Re: Pass multiple values from PowerApps to Flow

    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 560 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 347 Moderator

#3
Expiscornovus Profile Picture

Expiscornovus 262 Most Valuable Professional

Last 30 days Overall leaderboard