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
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.

New Process Advisor Capabilities carousel.png

Read the blog for the latest news

Read the latest about new experiences and capabilities in the Power Automate product blog.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

Users online (2,133)