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