cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
smilingbo
Frequent Visitor

Adding a flow to an app

Hello All,

 

Forgive me as I'm relatively new to building a power app and have a query which I hope someone will be able to help me with. 

 

I have built an app that has change requests (from a sharepoint list). It has several screens:

 

Overview - simple list of open items. You can select an item to move to the detailed view or add a new item

Detailed view - shows all the details of the item

Edit view - you can edit an item

new item - add a new item

 

I'm trying to add a flow (already built and works) to the app so that when an item is selected (and the flow is triggered), it runs an approval process and this is where I'm coming unstuck. So my queries are: 

 

 - how can I select an item to run this flow? If I add a button to the detailed view, is the item then selected?

- I have added a button to the detailed view, but when I click on the button and power automate, no flows are listed and it say's 'create a flow'. Do I need to modify a triggered flow to work with power apps? 

 

Thanks for any help you can give me on this,

Paul

 

1 REPLY 1
JR-BejeweledOne
Super User
Super User

What is the trigger for your flow?   In order to use a flow in Power Apps, the trigger has to be Power Apps, it won't show up otherwise.

 

Once you have a flow that you can run in Power Apps, you will be able to add a run statement to your button.

 

So yes, create a new flow that uses the Power Apps trigger.  Also if you need data from Power Apps, you will have to add the 'Ask in Power Apps' to those places in the flow.     When building your run statement in Power Apps you will need to provide that information.

 

Here is a resource for you:   https://youtu.be/ovLIwnj6QjU



If you like this post, give it a Thumbs up. If it answered your question, Mark it as a Solution to enable other users find it.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Power Apps Community Call Jan. 2022 768x460.png

Power Apps Community Call

Please join us on Wednesday, January 19th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (1,517)