Insert enum value in mail body
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2013 07:46 AM
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
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
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2013 02:18 AM
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
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
