一.简介
对于flowable是什么以及关于此框架的具体信息可以参看此项目的官方文档:https://www.flowable.org/docs/userguide/index.html
Flowable is a light-weight business process engine written in Java.这是官网文档对此框架的完美解释:Flowable是一个用java语言写的轻量级工作流引擎。
在实际开发中,很少会直接用到 flowable 中的用户体系,但是毕竟官方设计了这个东西,而存在就必然有其合理性。写个 Spring Boot 的demo,学习怎么去添加、删除、修改一个用户或者组。
二.springboot整合flowable
1.使用版本
springBoot版本:2.3.2.RELEASE
flowable版本:6.5.0
2.创建项目
创建一个 SpringBoot 项目,引入 Web、和 MySQL 驱动两个依赖,截图如下:
3.项目依赖pom.xml
springboot 版本
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.3.0.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.flowable</groupId>
<artifactId>flowable-engine</artifactId>
<scope>compile</scope>
<version>6.5.0</version>
<exclusions>
<exclusion>
<groupId>org.mybatis</groupId>
<artifactId>mybatis</artifactId>
<