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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Trigger approval flow
Power Apps
Answered

Trigger approval flow

(1) ShareShare
ReportReport
Posted on by 30

Hi,

 

I'm working on Leave Request app for my team, I've created form in canvas app and approval flow in power automate but I'm stuck on how to trigger the flow because the action tap is gone, and I can't add flow from PowerAutomate ribbon.

 

I want to trigger flow by "OnSuccess>SendApprove.Run(MyForm.LastSubmit.ID" but it appears that Run command not recognized.

 

I don't know why they keep changing things to be more complicated and overstuffed stupid functions.

 

Any suggestions?

Categories:
I have the same question (0)
  • KeithAtherton Profile Picture
    3,709 Most Valuable Professional on at

    Hi @MIGHSKI,

     

    Have you created a cloud flow called SendApprove and it's not showing in the canvas Power Apps Studio Power Automate tab, i.e. blank like below?

     

    KeithAtherton_0-1708427765607.png


    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.
    Connect with me online.

  • MIGHSKI Profile Picture
    30 on at

    Hi @KeithAtherton ,

     

    No, I just created on PowerAutomate, Trying to add my flow to the Canvas. I don't know how to trigger it.

    MIGHSKI_0-1708428267089.png

     

  • WarrenBelz Profile Picture
    156,382 Most Valuable Professional on at

    @MIGHSKI ,

    I think you are missing the closing bracket

    SendApprove.Run(MyForm.LastSubmit.ID)
  • KeithAtherton Profile Picture
    3,709 Most Valuable Professional on at

    Does the following code work?

    LeaveApproval.Run(MyForm.LastSubmit.ID)

    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.
    Connect with me online.

  • MIGHSKI Profile Picture
    30 on at

    Hi,

     

    No, I try but not working.

    MIGHSKI_0-1708428890653.png

     

  • Verified answer
    KeithAtherton Profile Picture
    3,709 Most Valuable Professional on at

    Looks like no parameters are required, try the following code:

    LeaveApproval.Run();

    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.
    Connect with me online.

  • MIGHSKI Profile Picture
    30 on at

    Yes, It's work!

     

    Thank you. 😇 

  • KeithAtherton Profile Picture
    3,709 Most Valuable Professional on at

    Great news! My pleasure. Thank you for the update.


    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.
    Connect with me online.

  • BOSH Profile Picture
    8 on at

    Hi @KeithAtherton ,
    Having a difficult time to add my flow to a edit form screen (on select property) please help,

    Here is the Flow:

    BOSH_0-1717843715398.png

     

     

    BOSH_1-1717843715425.png

     

     

     

    And here's the initial onselect property to add the flow

    // Submit the form
    SubmitForm(EditForm2);

    // Navigate to the "TicketCreated" screen with a fade transition
    Navigate(TicketCreated, ScreenTransition.Fade);

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 416 Most Valuable Professional

#2
11manish Profile Picture

11manish 205 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard