AnsweredAssumed Answered

How can I evaluate expression values in my java code?

Question asked by chenning007 on Jun 8, 2015
Latest reply on Jun 11, 2015 by martin.grofcik
Hi forks,

Can anyone tell me how I can evaluate the expression's value below?

I have a TaskListener implementation in which I add jave code to parse and print a sentence as below

<activiti:field name='xxx'>
      <activiti:string>my birthday is ${day}</activiti:string>

the ${day} is one variable which is set when an instance of the task is created, however, I can't reference the variable and evaluate the whole expression's value as what I expected like: my birthday is 2000-xx-xx.

If you have any advicement, you will be really appreciated, thanks.