AnsweredAssumed Answered

ActivitiException: Delegate expression - did neither resolve to an implementation of interface

Question asked by gopi.chitturi@gmail.com on Dec 10, 2018
Latest reply on Dec 10, 2018 by pault

Hi,

 

I have a process that has service task step that is calling a Spring bean using delegateExpression which is implementing the JavaDelegate. I have used the below delegateExpression to pass a parameter that is specific to the step. Call is landed on the correct method and executed however after the successful execution or a failure (exception), below exception is thrown and process stops.

 

Delegate Expression: #{etlTriggerService.execute(execution,'fileParsing')}

 

Exception:

org.activiti.engine.ActivitiException: Delegate expression #{etlTriggerService.execute(execution,'fileParsing')} did neither resolve to an implementation of interface org.activiti.engine.impl.delegate.ActivityBehavior nor interface org.activiti.engine.delegate.JavaDelegate

 

Wondering why am I getting this error even though my class is implementing the JavaDelegate. Any help/suggestions appreciated.

Outcomes