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

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Building an Approval flow from PowerApps

(0) ShareShare
ReportReport
Posted on by 67

I have a Time Tracker app that uses a SharePoint list as data. The idea is very simple, you click on the Check In button, it generates the users name, time of check in and date into that list. However, you can adjust the time if you forgot to check in properly. I need the "Adjust" button to trigger an approval flow that leaves the "time" column on the list as is if approved and revert the adjustment if not. 

 

Is that possible? How would I go about building it?

Categories:
I have the same question (0)
  • Amit_Sharma Profile Picture
    1,569 Super User 2024 Season 1 on at
    Re: Building an Approval flow from PowerApps

    Hi @vinidegrandi ,

     

    As per my understanding, you will Save the data (Name, CheckInTime and Date) to the SharePoint List and you also have a button for the Adjust time. Now, you want to create an approval on that Adjust Button. 

    So, you can try with these following steps -

     

    In Power Apps Go to the Power Automate > Add Flow >Create New Flow >Create from Blank

    Amit_Sharma_1-1670391831218.png

     

     

    1. Use the Power Apps trigger in the flow which added Automatically.

    2. Use the Start and wait for the Approval Action

    -Approval Type: - Approve Reject- First To respond.

    -You can Add title for the Approval.

    -Assigned To: - Add email address of the Approver.

    3.Add Condition 

    4.Use "Get items" Action of the SharePoint.

    5.Use "Update Items" Action of the SharePoint.

     

    Amit_Sharma_0-1670393336920.png

     

    Now, On the OnSelect Property of the Adjust Button use the Power Function Flowname.Run() to run the flow from the Button.

     

    Please give it a try and if you face any issue further, then please let me know. 

  • vinidegrandi Profile Picture
    67 on at
    Re: Building an Approval flow from PowerApps
    Okay, it looking like this. I have run a couple of tests but they all failed, unfortunately. Maybe it has to do with me creating the records and being the approver?
     

    vinidegrandi_1-1670422061217.png

     

    The flow checker also notes:

     

    vinidegrandi_2-1670422164810.png

    I'm not sure what to do with this information. 

  • Amit_Sharma Profile Picture
    1,569 Super User 2024 Season 1 on at
    Re: Building an Approval flow from PowerApps

    Hi @vinidegrandi ,

    Can you please send the screenshots of run history of the flow and the errors you get when you test the flow.

     

    The error shown in the above image is a warning and related to the ODataFilter query that increase the performance of the flow.

    Please refer to this article ( Power Automate OData filter query with examples - SPGuides )  to learn about the Filter Query.

  • vinidegrandi Profile Picture
    67 on at
    Re: Building an Approval flow from PowerApps

    It doesn't say what went wrong specifically. Just says it failed.

     

    vinidegrandi_0-1670501154694.png

     

  • Amit_Sharma Profile Picture
    1,569 Super User 2024 Season 1 on at
    Re: Building an Approval flow from PowerApps

    Hi @vinidegrandi ,

     

    Please send me the screenshot of any one of the failed flow. Just by clicking on the Date of the flow failed. (Refer below image)

     

    Amit_Sharma_0-1670501828933.png

     

     

     

  • vinidegrandi Profile Picture
    67 on at
    Re: Building an Approval flow from PowerApps

    Sorry, here it is:

     

    vinidegrandi_0-1670502139164.png

     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 666 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 382 Moderator

#3
developerAJ Profile Picture

developerAJ 254

Last 30 days Overall leaderboard