AnsweredAssumed Answered

delegateExpression call an ejb from another ear

Question asked by kroninho on Feb 16, 2018
Latest reply on Feb 22, 2018 by kroninho

Hi everyone, i am pretty new in the topic activiti. I have two ears on a jboss AS 7.

The first ear includes the activiti 5.22 engine. I create the engine with the activiti.cfg.xml


In my process configuration I had the entry

<serviceTask id="my_task" name="My Task" activiti:delegateExpression="${myTask}"></serviceTask>


The process should call an EJB from the second ear. When I deploy it to my server and start the process i get an exception:

PropertyNotFoundException: Cannot resolve identifier 'myTask'



I don´t use the spring way to announce the bean.

How can I use the MyTask EJB?


I attached the files.

The IMyTask is a empty RemoteInterface.

It would be nice if you could help me.