web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to trigger flow fr...
Power Automate
Answered

How to trigger flow from PowerApps button

(0) ShareShare
ReportReport
Posted on by 10

 

 

Hi everyone,

 

I have created a  Leave Request application on PowerApps.  I would like to link this application with Flow , i.e  I have created a button in PowerApps in order to trigger Approval Flow. 

 

I have tried to put formula behind button control in order to trigger Flow but It doesn't work.

And how can I retrieve approval status in my application ?

Could anyone help me about that ?

LeaveRequest.png

 

 

Thanks in advance.

 

Categories:
I have the same question (0)
  • RezaDorrani Profile Picture
    12,143 on at

    Hi @Tahina 

     

    In PowerApps, Select the button and then go to Action Tab in top Menu -> then select Flows in sub menu ->create a new flow or select an existing one

    Capture.PNG

     

    --------------------------------------------------------------------------------
    If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

     

     

     

  • Tahina Profile Picture
    10 on at

    Hello @RezaDorrani ,

     

    Thanks for response but what I want to know is how to set formula behind the button after clicking in "Flow"  sub menu, and then creating flow which can send email to manager in order to approve "Leave request" item.

     

     

  • Verified answer
    v-bacao-msft Profile Picture
    on at

     

    Hi @Tahina ,

     

    Please check the Online doc and see how to create a simple integrated application of MS Flow and PowerApps.

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/using-logic-flows

     

    But according to your description, you could create a Flow that it use When an item is created as a trigger, and then configure the Approval action.

    Like:

    79.PNG

    The role of this app is to create a new item, so when you click Submit, the above Flow will be automatically triggered and create an Approval request.

    Hope it makes sense.

     

    Best Regards,

  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @Tahina 

     

    To connect a flow to powerapps, you need to follow the below steps:
     
    1) Select the button control in canvas app and select actions from the top menu.
    2) Select Flows and this will open a menu in right side. 
    3) Select the flow to Register it. Make sure that the OnSelect property of the button is used to place the expression.
     
    Expression would be something like:
     
    FlowName.Run(Parameters)
     
    Here, Parameters refers to the inputs defined in your flow. This would be blank if no parameters are passed, FlowName.Run()
     
    Hope this Helps!
     
    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
  • Maddii64 Profile Picture
    2 on at

    On clicking the button, it only shows onselect property ,and other roperties of button, but i can't find the flow property.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard