cancel
Showing results for 
Search instead for 
Did you mean: 

write flow condition for a boolean type

leonvonblut
Champ in-the-making
Champ in-the-making
Hi,
I create a form with a boolean field, rendered in activiti explorer with a checkbox.
How can I write a flow condition to evaluate that? I always get:

"condition expression returns non-Boolean: $(approved.equals("false")) (java.lang.String)"

the field name and id is "approved"

I tried with:

${approved} - ${!approved}
${approved eq true} - ${approved ed false}
${approved.equals("true")} - ${approved.equals("false")}

Thanks
1 REPLY 1

leonvonblut
Champ in-the-making
Champ in-the-making
solved with ${approved == true} - ${approved == false}