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

Trouble using If() expression

(0) ShareShare
ReportReport
Posted on by

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

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 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard