AnsweredAssumed Answered

condition expression returns non-Boolean

Question asked by fabrice1 on May 5, 2014
Latest reply on May 6, 2014 by martin.grofcik
When I want to evaluate this expression
${NOTCOMMENT == true} in my sequenceFlow it's work

but If I want to evaluate
${NOTCOMMENT == true}  || ${NOTCOMMENT2 == true}

${NOTCOMMENT == true}  && ${NOTCOMMENT2 == true}

I catch the following exception

org.activiti.engine.ActivitiException: condition expression returns non-Boolean: false || false (java.lang.String)
   at org.activiti.engine.impl.el.UelExpressionCondition.evaluate(
   at org.activiti.engine.impl.bpmn.behavior.ExclusiveGatewayActivityBehavior.leave(
   at org.activiti.engine.impl.bpmn.behavior.FlowNodeActivityBehavior.execute(
   at org.activiti.engine.impl.pvm.runtime.AtomicOperationActivityExecute.execute(
   at org.activiti.engine.impl.interceptor.CommandContext.performOperation(
   at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(
   at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(

Can you tell me please , what correct expression I have to write  ?

Thanks in advance