AnsweredAssumed Answered

execute Method and Spring Integration - how ?

Question asked by danielbreitner on Dec 30, 2011
Latest reply on Dec 30, 2011 by danielbreitner
Hi Activiti folks,

I hope I am able to describe my problem in a way so that everybody understands it.

In the Eclipse Designer, when modelling a process, I have the possibility of selecting "Java Class", "Expression" or "Delegate Expression".

We are using Spring to inject our ressources into the Activiti Steps.

I have found out that when I am using "Java class", the spring injection doesn´t work (don´t ask me why) - all fields if autowired or not are unfilled.

That´s why I am using "Expression" and directly start a certain method in the Task.

Now here is my question: What do I have to enter into the Expression field, to start the standard "execute(DelegateExecution delegateExecution)" method ?

Outcomes