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 Automate / Approving/Rejecting An...
Power Automate
Answered

Approving/Rejecting Annual Leave requests

(1) ShareShare
ReportReport
Posted on by 142
I created a Microsoft Form and a SharePoint list in advance of creating a PA flow for annual leave requests. The flow does work, HOWEVER, there is something strange going on with the Condition element. When the "outcome" is either approved or rejected, the SharePoint doesn't update from its default setting of "Pending". Also, irrespective of whether the request has been approved or not, the person requesting leave will always receive a notification saying it has been rejected.
 
What am I doing wrong?
 
Thanks.
 
Categories:
I have the same question (0)
  • David_MA Profile Picture
    14,956 Super User 2026 Season 1 on at
    Please show a screen shot of the flow and the configuration of the action that updates the SharePoint list. Also show the configuration of the condition you're using to determine whether to send an approved or rejected notification.
     
    Without seeing what you are doing, one can only guess as to what the issue may be.
  • Suggested answer
    Haque Profile Picture
    3,653 on at
    Hi @PB-04020944-0,
     
    Let's look around the condition and logics of two main areas that you mentioned: 
     
     
    1. SharePoint list not updating from "Pending": Not sure if the update action is inside the wrong branch of the condition- if that is the case this often happens. Onre more reason can be if the Condition’s logic does not correctly evaluate the approval outcome. For example, if you check for the outcome as a string but the actual value is different or case-sensitive, the update step may never run.
    2. Notification always saying "Rejected": This usually means the notification email action is placed outside the Condition or is always triggered regardless of the approval result. Can we check if the condition is misconfigured so that the "Rejected" branch runs even when the outcome is "Approved."?
     

    I am sure some clues I tried to give. If these clues help to resolve the issue brought you by here, please don't forget to check the box Does this answer your question? At the same time, I am pretty sure you have liked the response!
  • PB-04020944-0 Profile Picture
    142 on at
    Thank you, both and apologies for not posting any screenshots. I was hoping this would be a common issue and easily fixed without. 
     
    I can confirm that the SharePoint entries (url and name of list) are correct.  It would appear that my update action and email sending are inside the correct branch of the condition from this:- 
     
  • Vish WR Profile Picture
    3,748 on at
     

    Can you share the configuration of the condition?

    Also, can you take a look at the flow history to confirm whether the condition is properly leading to the Approve or Reject branch? If it is, then the issue likely isn’t with the condition itself, but with how you’re updating the SharePoint column afterward.

    Also, how are you currently updating the value for the Choice column in SharePoint?

    When it comes to Choice columns, make sure you’re passing the exact allowed values (like “Approved”, “Rejected”, “Pending”) . In Power Automate, check whether the values used in the condition comparison are case-sensitive, or whether you are applying any transformation like toLower() on the field before comparing it.

    Vishnu WR
     
    Please  Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider answering Yes to Was this reply helpful? or give it a Like 

     
  • Verified answer
    Haque Profile Picture
    3,653 on at
     
    It seems like condition is not meeting the expecation. Let's hook in the condition  - pleae dirll down every possible left and right. Some values in the condition is not behaving good. 
  • Verified answer
    PG- Assistant Technical Consultant Profile Picture
    28 on at

    The “Start and wait for an approval” action returns an Outcome value, which is case-sensitive and must be:

    • "Approve"
    • "Reject"

    If you use "Approved" or "Rejected", the condition will always evaluate incorrectly and the flow will follow the wrong branch (typically the rejection path).
     

    1. Update the Condition

    • Left value: Outcome (from the approval action)
    • Operator: is equal to
    • Right value: Approve (exact text)

    2. Configure both branches properly

    • If Yes (Approved):
      • Update the SharePoint item → set Status = Approved
      • Send approval notification email
    • If No (Rejected):
      • Update the SharePoint item → set Status = Rejected
      • Send rejection notification email

    3. Verify the SharePoint “Update item” action

    • Ensure the ID is coming from the “Create item” step (dynamic value, not hardcoded)
    • Confirm the Status column internal name is correct
  • PB-04020944-0 Profile Picture
    142 on at
    Thank you most kindly, guys. Hugely appreciate your contributions.
     
    Here are the details of the setup. Cannot see where I am going wrong unless someone else can spot it
     
     
     
     
     
     
     
     
     
  • Vish WR Profile Picture
    3,748 on at
     
    Can you share with us the overall flow of what you are doing, or the overall flow design, including the trigger condition 
     
     
  • Suggested answer
    Haque Profile Picture
    3,653 on at
     
    Thanks for sharing the condtion branch.
     
    Can you please rewite the condtion branching two sides: For example
    • If Approval Outcome equals "Approved" → update SharePoint status to "Approved" and send approval email.
    • Else if Approval Outcome equals "Rejected" → update SharePoint status to "Rejected" and send rejection email.
    ​​​​​

    I am sure some clues I tried to give. If these clues help to resolve the issue brought you by here, please don't forget to check the box Does this answer your question? At the same time, I am pretty sure you have liked the response!
  • PB-04020944-0 Profile Picture
    142 on at
    Do you mean amending the condition to look like this? Under the True and False, branches, the correct requirements are set out. 
     

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard