AnsweredAssumed Answered

How to use class full package name in line's condition expr?

Question asked by tse on Jan 25, 2013
Latest reply on Jan 30, 2013 by ronald.van.kuijk
I would like to compare a process variable (enum variable) to one of its possible value. It seems that using class full package name is not possible in the condition:


${status==a.b.c.StatusEnum.REJECTED}

throws:

Caused by: org.activiti.engine.impl.javax.el.PropertyNotFoundException: Cannot resolve identifier 'a'
        at org.activiti.engine.impl.juel.AstIdentifier.eval(AstIdentifier.java:83)

Is there any way to do this using condition on sequence flow?

(I use SpringProcessEngineConfiguration if it does matter.)

Outcomes