AnsweredAssumed Answered

Field Injection not supporting for expression type in Task Listener Configuration

Question asked by swamy2156 on Nov 20, 2013
My Activiti version is 5.13
In my BPMN modal, for human task listener I selected "Expression" type and I am able to see the field injection panel where I can add fields. I added couple of fields with String values. In my task listener implementer, while reading those fields returning null instead of string value which i provided in designer. Is this a bug?? If not bug, why the field injection panel is displayed when selected "Expression" or "DelegateExpression" type. BTW, this field injection feature was working with "Java Class" type listener. The following is the snippet of my task listener implementer.

class TestClass implements TaskListener{
public final void notify(final DelegateTask delegateTask) {
    System.out.println("Injected field-1 value" + (String) text1.getValue(delegateTask));

Please help me out regarding this.