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

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
Community Support

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

cardinalpipkin Helper V
Helper V

Re: Pass variable from powerapps to flow

Most clear! Thanks.

View solution in original post

5 REPLIES 5
Community Support
Community Support

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

cardinalpipkin Helper V
Helper V

Re: Pass variable from powerapps to flow

Most clear! Thanks.

View solution in original post

cardinalpipkin Helper V
Helper V

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 

 

 

Microsoft
Microsoft

Re: Pass variable from powerapps to flow

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

mbrocchi1 Advocate II
Advocate II

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
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

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

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Users online (5,815)