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 / Multiple operators in ...
Power Automate
Answered

Multiple operators in a switch.

(0) ShareShare
ReportReport
Posted on by 7

Hi, I've just started learning C# and in a project I was working on I was able to take a switch statement and say something along the lines of "If A == B && A >= C" I noticed that when doing switch statements in power automate desktop you only have the option to choose a single operator in the cases. So I can really only do something like "If A == B" instead of a double check which would be useful for trying to get an automation that will only do an action if both conditions are met. I'd imagine there is a longer way of doing this than simply having double operators in the a case, but if there is I'm having trouble finding it. 

 

Any assistance would be much appreciated.

 

Thanks,

Jon

  • Verified answer
    MichaelAnnis Profile Picture
    5,727 Moderator on at

    You can add a nested Switch below the first operator:

    MichaelAnnis_0-1626734805582.png

     



  • Jon112 Profile Picture
    7 on at

    It does make me wonder the efficiency of doing something like this. I guess that isn't really a problem when it's just checking variables though. Thanks for your help @MichaelAnnis 

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 233 Super User 2026 Season 2

#2
David_MA Profile Picture

David_MA 227 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 178

Last 30 days Overall leaderboard