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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Pass data from PowerAp...
Power Apps
Unanswered

Pass data from PowerApps to MS Power Automate (Flow)

(1) ShareShare
ReportReport
Posted on by

Dear Experts, 

 

In PowerApps I have created an App using the "Start with data" option and I have loaded a Sharepoint list as the data source. Now, each Sharepoint list row represents an item in the Gallery which can be clicked on and more data of each Sharepoint row is viewed (DetailScreen1).

 

Then I have added a Button to the DetailScreen1 and connected it with MS Flow. By clicking on this button I would like to launch MS Flow, that will be able to work with the data from selected DetailScreen1.

Is anybody able to advise how to pass the data from selected DetailsScreen1 to MS Flow? I have tried to use the Collection function, however it does not seem to be working. Can I even use collections in this case? From what I have seen till now, using Collections is applicable only when user is filling data, not selecting an item. 

 

Thank you in advance, 

 

Categories:
I have the same question (0)
  • Verified answer
    mdevaney Profile Picture
    29,989 Moderator on at

    @Anonymous 

    There's an awesome tutorial put out by MS that you should check it.  It completely walks through the process step-by-step.  I'll link to it below.  A few tips specific to your situation are:

     

    1.  Don't use a collection.  It's not necessary and it makes things harder.  Instead, create 7 variables in PowerApps (one for each of Req. Number, Job Title, Action, etc) and use 'Ask In PowerApps' to obtain the values.

     

    2.  To pass the variables from PowerApps to Flow you would first need to connect it by going to the top menu in PowerApps Studio and clicking "Action" then "Power Automate".  Select your Flow then write some code like this in the OnSelect property of your submit button

     

    Run.YourFlowName(
     DataCardValue_ReqNumber.Text,
     DataCardValue_JobTitle.Text,
     DataCardValue_Action.Text,
     DataCardValue_Process.Text,
     DataCardValue_Subprocess.Text,
     DataCardValue_Hiring Manager.Text,
     DataCardValue_JobGrade.Text
    )

     

    Link To Start A Flow In A Canvas App Tutorial.

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/using-logic-flows

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard