cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Assign flow to button in Powerapps

I am attempting to create an app from a Sharepoint list - I did the initial steps - but I need more screens for added functionality.  In one of those screens I need to add a button that the user clicks on when they complete the steps listed above and the button triggers an email. I created a new flow for that action - but I can't assign it to the button. 

Any suggestions? I can provide screen shots - but I don't know which ones would be needed. Please advise. 

Thanks so much! 

2 ACCEPTED SOLUTIONS

Accepted Solutions
PowerApps Staff ADobin
PowerApps Staff

Re: Assign flow to button in Powerapps

It looks like the Flow you created isn't a Flow designed for PowerApps. As seen in the the first section of that tutorial (https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/using-logic-flows#create-a-flow) the trigger on the Flow, for it to be called in PowerApps, needs to be PowerApps, not the SharePoint trigger.

 

You can still use your Flow as is but what you are looking for is instead how to submit your form to a SharePoint list, not how to trigger a Flow. If you've followed the instructions to connect to a SharePoint (https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/connections/connection-sharepoint-onlin...) you will need to follow the instructions for how to update or create records in SharePoint, linked at the bottom of that page in the Next Steps section. There is also a good tutorial walking through how to update and create approval Flows using PowerApps in a multi-part series that starts at https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/sharepoint-scenario-approval-flow and flows into the Next Steps section where it connects the PowerApp to the SharePoint list to trigger the Flow.

View solution in original post

KOM_4410
Level 8

Re: Assign flow to button in Powerapps

Hi @Anonymous,

 

I followed this tutorial from Jo Karnes and it worked great. It may not be exactly the same scenario but very similar. I hope it helps

 

https://office365daysayear.com/2017/09/21/print-a-form-in-powerapps/

 

Cheers

View solution in original post

7 REPLIES 7
PowerApps Staff ADobin
PowerApps Staff

Re: Assign flow to button in Powerapps

Hi tlroze,

 

Have you tried following the tutorial for inserting a Flow attached to a button available at https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/using-logic-flows#add-a-flow-to-an-app? Hopefully that will be able to resolve the issue for you.

 

Let us know if that doesn't work.

 

Anonymous
Not applicable

Re: Assign flow to button in Powerapps

Yes, I've tried that... it doesn't recognize the flow I've already created - and when trying to recreate the same one -- I can't get all the options to work... 

 

Please see attached: 

 

 

PowerApps Staff ADobin
PowerApps Staff

Re: Assign flow to button in Powerapps

It looks like the Flow you created isn't a Flow designed for PowerApps. As seen in the the first section of that tutorial (https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/using-logic-flows#create-a-flow) the trigger on the Flow, for it to be called in PowerApps, needs to be PowerApps, not the SharePoint trigger.

 

You can still use your Flow as is but what you are looking for is instead how to submit your form to a SharePoint list, not how to trigger a Flow. If you've followed the instructions to connect to a SharePoint (https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/connections/connection-sharepoint-onlin...) you will need to follow the instructions for how to update or create records in SharePoint, linked at the bottom of that page in the Next Steps section. There is also a good tutorial walking through how to update and create approval Flows using PowerApps in a multi-part series that starts at https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/sharepoint-scenario-approval-flow and flows into the Next Steps section where it connects the PowerApp to the SharePoint list to trigger the Flow.

View solution in original post

KOM_4410
Level 8

Re: Assign flow to button in Powerapps

Hi @Anonymous,

 

I followed this tutorial from Jo Karnes and it worked great. It may not be exactly the same scenario but very similar. I hope it helps

 

https://office365daysayear.com/2017/09/21/print-a-form-in-powerapps/

 

Cheers

View solution in original post

Anonymous
Not applicable

Re: Assign flow to button in Powerapps

how do I access the same triggers in the PowerApp flow vs the SharePoint flow? 

when I attempted to do the Flow from the app - I could not access them... 

 

what i need.PNG

Super User
Super User

Re: Assign flow to button in Powerapps

I made a video walking you through doing all of this. 

 

Upload an image to SharePoint from PowerApps using Flow

Shane - Microsoft MVP, YouTube, and PowerApps Consulting for when you are in a bind to get this fixed quickly. And finally we now have PowerApps Training
Anonymous
Not applicable

Re: Assign flow to button in Powerapps

Shane, I actually viewed your videos yesterday, but they weren't what I was looking for! I almost actually commented on one of them for further assistance! Thanks though! 

 

Sidenote: I did figure it out 🙂 

Helpful resources

Announcements
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!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 208 members 5,331 guests
Please welcome our newest community members: