中流-接入Camunda流程引擎
配置maven依赖
<dependency>
<groupId>org.camunda.bpm.springboot</groupId>
<artifactId>camunda-bpm-spring-boot-starter</artifactId>
<version>7.18.0</version>
</dependency>
application.yml中添加不检查租户
不然在执行流程查询时会出现查询结果错误
camunda:
bpm:
authorization:
tenant-check-enabled: false
导入Camunda基础sql
根据不同数据库导入不同的初始化sql
Camunda Spring启动配置
添加@EnableProcessApplication注解
@Configuration
@EnableProcessApplication
public class ProcStarterAutoConfigure {
}