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

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

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

firstImage

Coming Soon: T-shirt Design Contest

Keep your eyes open for our upcoming T-shirt design contest!

firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Top Solution Authors
Top Kudoed Authors
Users online (5,920)