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.
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 .
Ok, thank you.
I add a <jee:remote-slsb> in my activity.cfg.xml and now it works.
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.