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 / Trouble using If() exp...
Power Automate
Unanswered

Trouble using If() expression

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

 

In my flow I want to use a if() expression to check a vaue (type=string) and convert it to boolean value.

The input = Ja (dutch for yes) 

 

My syntax of the expression: if(['30% regeling'],'Ja','true','false')

 

I keep having an error. Anybody an idea?

 

thx!

Alex

Categories:
I have the same question (0)
  • Amanthaper Profile Picture
    441 on at

    Hi @ALute ,

    Try these:

    if(contains(['30% regeling'],'Ja'),'true','false')
    if(equals(['30% regeling'],'Ja'),'true','false')
     
    Cheers,
    Aman
    ------------------------------------------------------------------------------------------------------
    If my post helps you with your problem or answers your question, please mark it Solved or Answered. This helps anyone with similar challenges. If you like my response, please give it a Thumbs Up.
    ------------------------------------------------------------------------------------------------------
  • Amanthaper Profile Picture
    441 on at

    @ALutedid this work?

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 552

#2
Valantis Profile Picture

Valantis 388

#3
11manish Profile Picture

11manish 375

Last 30 days Overall leaderboard