12-13-2023 01:28 AM
I have a class where I am trying to autowire processRuntime. The code is simple:
@Autowired
private ProcessRuntime processRuntime;
I need this object to start my workflow process. But my code fail with the following error:
required a bean of type 'org.activiti.api.process.runtime.ProcessRuntime' that could not be found.
How do I get the bean of processRuntime in my service. I am working with the following alfresco dependency:
<dependency>
<groupId>org.activiti</groupId>
<artifactId>activiti-spring-boot-starter</artifactId>
<version>7.11.0</version>
</dependency>
Explore our Alfresco products with the links below. Use labels to filter content by product module.