Hi,
Is there a way to start a specific Power Automate (flow) by pressing a button in an app that is build in PowerApps?
And if yes, what kind of trigger should the flow start with?
It's less than 2 years later and your linked MS page now states that it's "(retired)".
Is there a better/new/updated way of doing this now, or do we continue to use a "retired" version waiting for it to fail because MS finally decides to completely kill the process and remove the functionality?
Thanks for the detail. It helped me achieve what I needed!
It works, i used this formula: MyFlow.Run(BrowseGallery1.Selected.'Id (ID)') to start the flow of the selected item. Thanks!
Hi @Mirtemir ,
Do you want to trigger a flow by pressing a button in an app ?
Then you need to use the trigger named powerapps in your flow.
You need to create the flow like this:
Then you will create a flow with the trigger that you need.
Please notice that all the "ask in powerapps" that you select in the flow will be the parameters that you need to use in the formula to call the flow in powerapps.
Just like this:
After you create this flow successfully, you need to set your app like this:
choose the button that you want to trigger the flow, choose the flow that you want to trigger.
Then use formula like this to call this flow:
flowname.Run(paramaters)
//please fill in your flow name and the parameters that the flow needs
Best regards,
@Mirtemir
Did you read the tutorial?
This official tutorial by Microsoft will tell you everything you want to know
Link to Power Apps + Flow Article
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/using-logic-flows
---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."
WarrenBelz
146,731
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,075
Most Valuable Professional