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 / How to write multiple ...
Power Automate
Answered

How to write multiple if conditions and statements using expression in power automate

(0) ShareShare
ReportReport
Posted on by 453

Hello All, 

 

 

How to write multiple if conditions and their statement using Power Automate expressions ?

 

Really appreciate if anybody had worked out this before, 

 

 

Thanks in advance,

Categories:
I have the same question (1)
  • Verified answer
    Nived_Nambiar Profile Picture
    18,129 Super User 2025 Season 2 on at

    Hi @AK88 

     

    You can write it in different ways 

     

    1. Nested If 

     

    Expression : if(condition1, if(condition2,'statement2','statement3'),'statement1')

    Here we first validate condition1 if it is true, then we validate condition2, if condition 2 is True, then statement2 is executed else statement3 is executed.

    If condition1 is False, then statement1 is executed.

     

    Using And operation

     

    If(and(expression1,expression2),'statement1','statement2')

     

    Using Or operator

    if(Or(expression1,expression2),'statement1','statement2')

     

    Hope it helps 🙂

     

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