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 / Conditions not working
Power Automate
Answered

Conditions not working

(0) ShareShare
ReportReport
Posted on by 57
Hello, I have two conditions that contain 2 OR's and 1 AND. For some reason though, both conditions are being flagged as True when I run the flow. 
 
First Condition: If either of these Approval outcomes = Approve AND the user profile office location = US, the condition is True. 
 
Second Condition: If either of these Approval outcomes = Approve AND the user profile = France, the condition is True. 
 
For some reason, each of these conditions are returning True, which doesn't make sense since the users office location can only be set to 1 country. I've tried messing around with the check boxes (no idea what they're for?) but when I save the flow after checking them and go back into the flow, they're unchecked again. 
 
Please help, I'm losing my mind over this! 
Categories:
I have the same question (0)
  • Verified answer
    David_MA Profile Picture
    14,605 Super User 2026 Season 1 on at
    I would simplify your condition to evaluate whether one of two expressions returns true:
    This method is usually much more reliable. The two expressions used, which may vary slightly depending on the naming of the actions in your flow are:
    1. and(or(equals(outputs('Wait_for_an_approval_1')?['body/outcome'],'Approve'), equals(outputs('Wait_for_an_approval_2')?['body/outcome'],'Approve')), equals(outputs('Get_user_profile_(V2)')?['body/officeLocation'],'US'))
    2. and(or(equals(outputs('Wait_for_an_approval_1')?['body/outcome'],'Approve'), equals(outputs('Wait_for_an_approval_2')?['body/outcome'],'Approve')), equals(outputs('Get_user_profile_(V2)')?['body/officeLocation'],'France'))

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 801

#2
Valantis Profile Picture

Valantis 602

#3
Haque Profile Picture

Haque 581

Last 30 days Overall leaderboard