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

Notifications

Announcements

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
    13,241 Super User 2025 Season 2 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 245 Super User 2025 Season 2

#2
Expiscornovus Profile Picture

Expiscornovus 207 Most Valuable Professional

#3
trice602 Profile Picture

trice602 185 Super User 2025 Season 2

Last 30 days Overall leaderboard