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 use 'or' functi...
Power Automate
Unanswered

How to use 'or' function in condition?

(0) ShareShare
ReportReport
Posted on by
I encountered this error while using 'or' function in my stream. How is the 'or' function used?
error: Unable to process template language expressions for action 'condition' at row '0' and column '0': 'Template language function 'or' expects all its parameters to be Boolean. Invalid parameter types found: 'String'.'.
 
Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    68,858 Most Valuable Professional on at

    The error is because you are probably doing something like this.

    if(field = "Pending" or "Completed", true, false)

    But you can't use the or to add additional values.  It has to be a complete equation that evaluates to true or false.  The right format would be

    if(field = "Pending" or field = "Completed", true, false)

     

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
David_MA Profile Picture

David_MA 245 Super User 2025 Season 2

#2
Expiscornovus Profile Picture

Expiscornovus 207 Most Valuable Professional

#3
trice602 Profile Picture

trice602 185 Super User 2025 Season 2

Last 30 days Overall leaderboard