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 / Help with Conditional ...
Power Automate
Unanswered

Help with Conditional Logic

(0) ShareShare
ReportReport
Posted on by 176

Hi all - trying to build a condition that looks like the following:

 

If A = B and C = D, do X

or

If A = E and C = D, do Y

or

else, do nothing

 

Basically it's finding a field that can have one of two accetable answers (let's say Blue and Green). X would be the 'yes' actions of the condition, and Y would be the 'no' actions. If it's any other color, then ignore the data and move on.

 

So far, I have the first part working (If A = B and C = D, do X)

Screen Shot 2019-04-15 at 1.00.21 PM.png

 

but I'm struggling to build in the logic for the extra components. Any guidance would be apprciated!

 

EDIT: I should clarify, I need the first statement and second statement to be exclusive - if the first A = B statement is valid, then the A = E statement should be skipped. Hope that helps

Categories:
I have the same question (0)
  • v-bacao-msft Profile Picture
    on at

    Hi @ryan2k ,

     

    Please consider using Switch and Condition to combine Conditional Logic.

    Configure Switch to determine whether A is equal to B or equal to E and then enter a different branch.

    Then execute Condition action in the branch and determine whether C is equal to D. Execute the corresponding action in the If yes branch.

     

    Like:

    9.PNG

     

    Best Regards,

  • ryan2k Profile Picture
    176 on at

    Thanks - I'll take a look, test, and report back.

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
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard