
springboot: 2.3.6.RELEASE flowable: 6.7.0
<dependency>
<groupId>org.flowable</groupId>
<artifactId>flowable-spring-boot-starter</artifactId>
<version>6.7.0</version>
</dependency>另: 参考代码中涉及到使用lombok插件的内容可以通过手动编码方式还原或引入lombok依赖。
配置详见: org.flowable.spring.boot.FlowableProperties
SpringBoot集成flowable的starter后,如果已经集成了数据库相关内容,就不再需要任何设置就可以完成集成(flowable 的ProcessEngineConfiguration默认实现 SpringProcessEngineConfiguration已经完成了ataSource注入) ,如需对其进行配置,可通过Autowired注入SpringProcessEngineConfiguration或ProcessEngineConfiguration进行修改 如:
import lombok.extern.slf4j.Slf4j;
import org.flowable.engine.ProcessEngineConfiguration;
import org.flowable.spring.SpringProcessEngineConfiguration;
import org.flowable.spring.boot.