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 / Condition Control - OR...
Power Automate
Answered

Condition Control - OR doesn't appear to work?

(0) ShareShare
ReportReport
Posted on by

Hi,

 

I've got a simple approval process that runs against a SharePoint list item.  There appears to be a feature (from what I've read on this forum) when using Approvals in conjunction with "When an item is created or modified" and the net result is that the flow fires twice, once when the approval is actioned and because this causes a property change on the item it fires again. 

 

So to get around this I've put a simple condition control after the trigger, this checks the "Content Approval Status" and if that equals "Approved" it terminates the Flow, that was working great until I rejected an approval request and of course this didn't meet the original condition and I received the duplicate mail again.  No problem I thought, I'll add an OR to the condition as you can see below:

 

flow-condition.jpg

 

But when the Flow runs even with the approval status set to "Rejected" the outcome is still reported as "False" when it should be "True".

 

Can anyone explain the tick boxes next to the conditions?  They appear to uncheck themselves after the flow has been saved/closed.

 

Thanks

Rob

 

Categories:
  • Verified answer
    ScottShearer Profile Picture
    25,331 Most Valuable Professional on at

    @Rob_CTL 

    I just ran a quick test and found that you need to be testing for Denied rather than Rejected.

     

  • v-bacao-msft Profile Picture
    Microsoft Employee on at

     

    Hi @Rob_CTL ,

     

    As described by @ScottShearer , if Approval status is Rejected, then the value of Content approval status is Denied.

    In addition to the tick boxes next to the conditions, it does not affect the execution of the Flow, it is only used to easily configure multiple sets of conditions.

    Please check this blog and get more details about it:

    https://flow.microsoft.com/en-us/blog/build-more-powerful-conditions-in-flows-and-more/

    Hope it makes sense.

     

    Best Regards,

  • Rob_CTL Profile Picture
    on at

    Thanks @ScottShearer  that was a nice easy fix!

     

    @v-bacao-msft thanks for the link

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

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 315 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 267

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard