Skip to main content

Notifications

Power Automate - General Discussion
Unanswered

Assign flow to button in Powerapps

(0) ShareShare
ReportReport
Posted on by

Hello Flow Community!

 

I've created the Leave Request Application via PowerApps. I'd like to have it where when the manager approves the request, that it be published on a calendar on SharePoint.

 

This is my flow so far: https://imgur.com/a/isUBKsP

This is my PowerApps OnSelect formula for BtnManagerApprove: https://imgur.com/a/VzuaeWf

This is  the button I believe that should trigger the flow: https://imgur.com/a/t13wG8h

 

The formula for "OnSelect" needs to be changed to trigger the flow mentioned above.  Am I following the right steps? Can anyone help me create the correct formula?

 

Thanks!

  • Re: Assign flow to button in Powerapps

    BUMP

  • Re: Assign flow to button in Powerapps

    Hi @v-yuazh-msft

     

    I'd like to use the PowerApps interface rather than just have people adding items to a sharepoint list. I understand how to create the flow you're mentioning, but my concern is having PowerApps as the trigger. Essentially I want users to use the PowerApps and have that action automatically create an item on the sharepoint calendar...

     

  • v-yuazh-msft Profile Picture
    v-yuazh-msft on at
    Re: Assign flow to button in Powerapps

    Hi @Anonymous,

     

    I would suggest you:

    1.Create an app to create an item in sharepoint list.

    2.Create a flow with trigger "When an item is created", the flow woul dbe triggered when an item is created in the sharepoint list.

    3.Add an "Start an approval" action under the trigger for manager approval.

    4.Add a Condition under the "Start an approval" action to check if the request is approved.

    5.Inside the If yes branch of the Condition, add an "Create item' action to create the item on a calendar on SharePoint.

     

     

    Best regards,

    Alice

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,666

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,996

Leaderboard