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}

or
${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(UelExpressionCondition.java:43)
   at org.activiti.engine.impl.bpmn.behavior.ExclusiveGatewayActivityBehavior.leave(ExclusiveGatewayActivityBehavior.java:63)
   at org.activiti.engine.impl.bpmn.behavior.FlowNodeActivityBehavior.execute(FlowNodeActivityBehavior.java:36)
   at org.activiti.engine.impl.pvm.runtime.AtomicOperationActivityExecute.execute(AtomicOperationActivityExecute.java:54)
   at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:90)
   at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:571)
   at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:566)
   at

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

Thanks in advance

Outcomes