AnsweredAssumed Answered

To invoke a method Expression

Question asked by on Feb 23, 2016
Latest reply on Feb 24, 2016 by martin.grofcik

I am trying to invoke a method Expression. But I am not able to call the method from the Delegate. And its giving : org.activiti.engine.ActivitiIllegalArgumentException: Field definition uses unexisting field 'testService' on class com.activiti.test.bpm.WebserviceTask

I need to know how exactly the method is invoked from the Service Task using the Expression? Should the method be in same Service Task or elsewhere?

Expression configured in BPMN:
  <serviceTask id="webService_task_id" name="WebService Task" activiti:class="com.activiti.test.bpm.WebserviceTask">
        <activiti:field name="testService">

Abhilash S