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
Solved! Go to Solution.
You can add a nested Switch below the first operator:
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
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.