02-16-2018 08:17 AM
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.
02-19-2018 09:37 AM
Are you using CDI integration (Activiti User Guide )? Or are you using spring like Tutorial: call an EJB in a BPMN 2.0 process using Activiti and Spring | Small steps with big feet ? I think one or the other would be needed for the expression to work - see .
02-22-2018 08:25 AM
Ok, thank you.
I add a <jee:remote-slsb> in my activity.cfg.xml and now it works.
Explore our Alfresco products with the links below. Use labels to filter content by product module.