Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - General Discussion
Suggested answer

Cancel Approvals

(2) ShareShare
ReportReport
Posted on by
Hello, The flow helps the company's vacation approval process, it has three approval stages where the first and second are with Approvals and the third is done in Power Apps, however the third stage is to cancel the vacation request within Power Apps, however if she cancels a vacation request, the first or second approval still remains in force, causing them to change the status of the request and return the process to 0 when there was already a previous cancellation, how can I connect those approvals and cancel them when they are canceled in Power Apps
Categories:
  • Suggested answer
    MS.Ragavendar Profile Picture
    1,430 on at
    Cancel Approvals
     
    Add a Status Column in Your SharePoint/Dataverse Table -> (e.g. Column Name ) VacationRequestStatus → Values like "Pending", "Approved", "Canceled"
     

    Modify your flow to check if the request is still valid before waiting for approval.

    • Use a "Get Item" (SharePoint) or "Get Row" (Dataverse) step to check the current request status just before each approval step.
       
    • Add a Condition before each "Start and wait for an approval" to verify the status.

     

    When Power Apps Cancels a Request
     
    • Update the column which is created (VacationRequestStatus) to "Canceled" (or something similar)
       
    • Optionally, trigger a Power Automate flow to notify the approvers or log the cancellation.
     
    Optional
    • Send a follow-up email to the approver.
    • Add an approval comment saying “Request has been canceled. Please disregard.”
    • Update any dashboards or Teams notifications.


    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item

  • Suggested answer
    stampcoin Profile Picture
    365 on at
    Cancel Approvals
    Your attachment is hardly to see it clearly.
    For classic vacation approval process, one thing you may want to consider is that:
    use a separated status to capture the value if the end user canceled/withdraw it, and check the status before each approval.
    If you have a for example "Status" field, which could have "Pending", "Approved", "Canceled/Withdraw".
    1. User Cancels in Power Apps:
      • Update vacation request status to “Canceled/Withdraw”.
      • Trigger a cancellation flow.
    2.  Approval Flows (Stages 1 and 2):
      • At the beginning of each flow, check the status.
      • If status is “Canceled/Withdraw” bypass approval or terminate the flow.
    3.  Notifications, Notify the the approvers that the request has been canceled/withdraw by the user to avoid confusion.
    feel free if you need more help.
  • w.p Profile Picture
    2,848 on at
    Cancel Approvals
    couldn't figure out how the third stage vacation request via a Power Apps fits in.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,898 Most Valuable Professional

Leaderboard