AnsweredAssumed Answered

Constants in expressions

Question asked by hbpost on Jul 31, 2013
Latest reply on Aug 1, 2013 by trademak
We use a data dictionary in our application and everything is represented as  'coded concept', basically a numeric identifier.  In code we typically reference these as constants.  I have not been able to find a way to reference a constant from a constants class in a JUEL expression.  For instance, in a sequence flow expression, I would like to do something like:

${pregnancyStatus.value == Term.PREGNANT}

but have only been able to use the literal value for the constant, as in:

${pregnancyStatus.value == "83036"}

Thanks for any advice,