Answer the question
In order to leave comments, you need to log in
How to use spring beans in expressions in Activiti (ServiceTask)?
Hello. Can't use beans in expressions in Activiti (in ServiceTask). He writes that he does not see this bin.
Excerpt from pom by version:
<springframework.version>5.0.2.RELEASE</springframework.version>
<springframework.boot>2.0.4.RELEASE</springframework.boot>
<activiti.version>6.0.0</activiti.version>
<serviceTask id="SendStatus104" name="Формирование и отправка статуса" activiti:expression="${sendService.sendStatusCode(104)}">
<documentation>Формирование и отправка статуса</documentation>
</serviceTask>
@Service("sendService")
public class SendServiceImpl implements SendService {
//some code
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question