AnsweredAssumed Answered

EmailBean not working in activiti community edition

Question asked by xelcina5 on Nov 30, 2017
Latest reply on Dec 6, 2017 by ryandawson

Hello everyone, when I first installed licensed verison of alfresco activiti ( enterprise edition ) , I was able to send emails with my process so it works just fine there, but when I imported the same process on the activiti community edition I get the following error:

Caused by: javax.el.PropertyNotFoundException: Cannot resolve identifier 'emailBean'
at de.odysseus.el.tree.impl.ast.AstIdentifier.eval(AstIdentifier.java:93)
at de.odysseus.el.tree.impl.ast.AstMethod.eval(AstMethod.java:77)
at de.odysseus.el.tree.impl.ast.AstMethod.eval(AstMethod.java:100)
at de.odysseus.el.tree.impl.ast.AstEval.eval(AstEval.java:51)
at de.odysseus.el.tree.impl.ast.AstNode.getValue(AstNode.java:31)
at de.odysseus.el.TreeValueExpression.getValue(TreeValueExpression.java:122)
at org.activiti.engine.impl.delegate.invocation.ExpressionGetInvocation.invoke(ExpressionGetInvocation.java:33)
at org.activiti.engine.impl.delegate.invocation.DelegateInvocation.proceed(DelegateInvocation.java:35)
at org.activiti.engine.impl.delegate.invocation.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:25)
at org.activiti.engine.impl.el.JuelExpression.getValue(JuelExpression.java:49)
... 103 more

 

 

My process looks like this:

 

 

It is very simple and just checks if an email can be sent. I have also configured email server in activiti-app.properties file but it seems that community edition does not have all the beans like enterprise edition.

 

My expression: 

${emailBean.getProcessInitiator(execution)}

 

I think that my beans are not configured, so can anyone tell me how should I configure my beans to work with expressions in activiti processes.
I have an attachment of my process (test3.bpmn20.xml) and it's just for testing email bean.


Thanks in advance! 

Attachments

Outcomes