How to use AND and OR operator with IF in power automate desktop?

46 Views Asked by At

I searched and I found someone say it can be used like this:

IF $'''%TotalList = 200% || %TotalList = 400% || %TotalList = 600%''' = True THEN

enter image description here

But after I try it the flow was just skipped this if line so how I should use the two operands ?

1

There are 1 best solutions below

0
CobyC On BEST ANSWER

You need to put it all between a single set of % % and use OR instead of ||.

%TotalList = 200 OR TotalList = 400 OR TotalList = 600%

The microsoft documentation is here