ProcessRuntime Bean not found

cancel
Showing results for 
Search instead for 
Did you mean: 
vsehgal
Member II

ProcessRuntime Bean not found

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>