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 Platform Community / Forums / Power Automate / Pass multiple values f...
Power Automate
Unanswered

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:
I have the same question (0)
  • Pstork1 Profile Picture
    68,678 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard