AnsweredAssumed Answered

Java Enum while evaluating conditions in JUEL

Question asked by mlisiewicz on Mar 23, 2011
Latest reply on Apr 1, 2011 by mlisiewicz
Is it possible to use java enum while evaluating conditions in JUEL?
e.g.
I want to  choose route from exclusive gateway based on state of process entity, where state is java enum. Comparison fails cause enum class is not visible in JUEL expression.

${entity.getState() == JavaEnum.STATE1}

I hope I made it clear  ;)

Outcomes