cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
cardinalpipkin
Responsive Resident
Responsive Resident

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
v-xida-msft
Community Support
Community Support

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

Most clear! Thanks.

View solution in original post

5 REPLIES 5
v-xida-msft
Community Support
Community Support

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.

Most clear! Thanks.

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 

 

 

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

mbrocchi1
Advocate II
Advocate II

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
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Top Kudoed Authors
Users online (4,013)