cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted

Pass variable from powerapps to flow

Hi,

 

I'm trying to pass a variable created in powerapps, to a flow I have created. 

 

Is this possible? If not variables then what can be passed to flow? 

 

I have enabled the flow within my powerapp. I have looked for the 'Ask for Powerapp' in dynamic content but can't find it.

 

My requirements for the powerapp is to allow a user to choose an email address from a drop down. Then choose another email address, from another drop down. Then click Send Approval. This then sends the two email addresses to the flow so it can start an approval process on it.

 

C

2 ACCEPTED SOLUTIONS

Accepted Solutions
Community Support Team
Community Support Team

Re: Pass variable from powerapps to flow

Hi @cardinalpipkin,

 

Do you want to send approval request to the two email addresses that are passed from PowerApps?

I have made a test on my side and please take a try with the following workaround:

Create a flow:

  • Add “PowerApps” trigger
  • Add “Start an approval” action, specify Approval type and Title. In Assigned to field, select “Ask in PowerApps” content of PowerApps for twice.12.JPG

     

Create a PowerApps app:

  • Configure PowerApps app as below13.JPG

     

  • With “Send Approval” button selected, select Flows on Action tab. In the pane that appears, select the flow that you create above.
  • In the formula bar, type the formula as below:14.JPG

     

The flow works successfully as below:15.JPG

 

 

More details about starting a flow in PowerApps app, please check the following document:

Start a flow in app

 

 

Best regards,

Kris

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

View solution in original post

Re: Pass variable from powerapps to flow

Most clear! Thanks.

View solution in original post

5 REPLIES 5
Community Support Team
Community Support Team

Re: Pass variable from powerapps to flow

Hi @cardinalpipkin,

 

Do you want to send approval request to the two email addresses that are passed from PowerApps?

I have made a test on my side and please take a try with the following workaround:

Create a flow:

  • Add “PowerApps” trigger
  • Add “Start an approval” action, specify Approval type and Title. In Assigned to field, select “Ask in PowerApps” content of PowerApps for twice.12.JPG

     

Create a PowerApps app:

  • Configure PowerApps app as below13.JPG

     

  • With “Send Approval” button selected, select Flows on Action tab. In the pane that appears, select the flow that you create above.
  • In the formula bar, type the formula as below:14.JPG

     

The flow works successfully as below:15.JPG

 

 

More details about starting a flow in PowerApps app, please check the following document:

Start a flow in app

 

 

Best regards,

Kris

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

View solution in original post

Re: Pass variable from powerapps to flow

Most clear! Thanks.

View solution in original post

Re: Pass variable from powerapps to flow

As I said, most clear. Except it's not working for me, I've got almost identical to you, but it's showing the red wavy line underneath it.

 

dsfg.PNG 

 

 

astockli
Level: Powered On

Re: Pass variable from powerapps to flow

Did you get this one working?  I am running into the same issue.

mbrocchi1
Level 8

Re: Pass variable from powerapps to flow

I demonstrate how to do this in my video on Exporting to PDF using PowerApps and Flow - 

 

Exporting to PDF from PowerApps and Flow

 

 

I also have a video that covers general variables usage in PowerApps - 

Variables in PowerApps

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 82 members 3,781 guests
Please welcome our newest community members: