cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

Trouble using If() expression

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

2 REPLIES 2
Highlighted
Responsive Resident
Responsive Resident

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.
------------------------------------------------------------------------------------------------------
Highlighted

@ALutedid this work?

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Users online (13,444)