cancel
Showing results for 
Search instead for 
Did you mean: 

Constants in expressions

hbpost
Champ in-the-making
Champ in-the-making
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,

Herm


1 REPLY 1

trademak
Star Contributor
Star Contributor
Right, don't think the Term.PREGNANT approach is supported.

Best regards,