How to set IF conditions in Or and And.(Power Automate Desktop)

Japanese version.

Here is an example of a file extension for which we received a question.

If the extension of the retrieved file is .pdf OR .xlsx OR .xls OR .doc OR .docx, start.

Specify the following for the "First operand" of the IF.

Assuming the extension is set to the variable ext.

%ext = '.pdf' OR ext = '.xlsx' OR ext = '.xls' OR ext = '.doc' OR ext = '.docx'%

Set "Operator" to "Equal to (=)" and "Second operand" to true.

Changing Or to And allows setting in the And condition. (although this will not be true in this example).