cancel
Showing results for 
Search instead for 
Did you mean: 

Insert enum value in mail body

msyben
Champ in-the-making
Champ in-the-making
Hello,

I'm trying to create a "mail task" with the value of an enum in the body (field 'HTML text').
I need the key and the value of the enum to be different.

If I use the syntax "${myEnum}" I got the key of the entry, and not the value.
Is there a way to easily get the value of the entry (maybe with a different syntax)?

I'm using activiti 5.13

Thanks.

Mathieu
1 REPLY 1

msyben
Champ in-the-making
Champ in-the-making
Problem solved.
I've made a listener that creates a new variable with the value of the enum and I use this new variable.
This listener is called when the task, in which the value of the enum is set, is completed.
That works great for my problem.

Mathieu