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 / Add an "or" to an IF s...
Power Automate
Answered

Add an "or" to an IF statement expression

(0) ShareShare
ReportReport
Posted on by

Is there a way to do an "or" statement as part of this expression?

 

Original "IF" expression:

If(equals(outputs('Get_response_details')?['body/r47fb301111e74dc4b0abe7bd26b23e11'],'deactivate a course'),null,' deep link’)

 

Would like the expression to equal 'deactivate a course' OR 'update attendance' in this expression. Is that possible?

Is there a way to do an "or" statement as part of this expression we just created?

 

If(equals(outputs('Get_response_details')?['body/r47fb301111e74dc4b0abe7bd26b23e11'],'deactivate a course, OR update attendance'),null,' deep link’)

@DJ_Jamba 😁

Categories:
I have the same question (0)
  • DJ_Jamba Profile Picture
    2,837 Moderator on at

    Back so soon?!?!

    Try this:

    If(
     or(
     equals(
     outputs('Get_response_details')?['body/r47fb301111e74dc4b0abe7bd26b23e11'],
     'deactivate a course'
     ),
     equals(
     outputs('Get_response_details')?['body/r47fb301111e74dc4b0abe7bd26b23e11'],
     'update attendance'
     ),
     ),
     null,
     'deep link'
    )
  • KellyHickman Profile Picture
    on at

    Tried it copy and paste, then typed it in, it keep saying invalid expression. It's late in the day here, I could be not doing something right, and it's Friday. I'll try again next week and maybe bug you again? Enjoy your weekend, and thanks again!!

  • Verified answer
    DJ_Jamba Profile Picture
    2,837 Moderator on at

    My fault. I threw an extra comma in there because of the JD n Coke..
    It should be:

    If(
     or(
     equals(
     outputs('Get_response_details')?['body/r47fb301111e74dc4b0abe7bd26b23e11'],
     'deactivate a course'
     ),
     equals(
     outputs('Get_response_details')?['body/r47fb301111e74dc4b0abe7bd26b23e11'],
     'update attendance'
     )
     ),
     null,
     'deep link'
    )

     

    Have a great weekend!

  • KellyHickman Profile Picture
    on at

    King of Solutions. Huzzah!!

  • DJ_Jamba Profile Picture
    2,837 Moderator on at

    d(-_-)b

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 227

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard