This project demonstrates how to integrate and use workflow engines with Spring Boot. It includes multiple branches to show the migration process from Activiti 5.22.0 to Flowable 7.1.0.
- activiti5: Integration of Spring Boot 2.3.8.RELEASE, JDK 1.8, and Activiti 5.22.0.
- activiti5-jpa: Adds Activiti JPA dependency to the activiti5 branch.
- activiti7: Upgrades the activiti5 branch to Spring Boot 3.4.0, JDK 17, and Activiti 7.1.0.M6.
- flowable7: Replaces Activiti 7.1.0.M6 with Flowable 7.1.0 in the activiti7 branch.
- main: Same as the flowable7 branch.
-
Clone the repository:
git clone https://github.com/hotelbe/workflow-demo.git cd workflow-demo
-
Checkout the desired branch:
git checkout <branch-name>
-
Build the project:
mvn clean install
-
Run the application:
mvn spring-boot:run
Postman scripts are included to test the workflow. Import the Postman collection from the postman
directory and run the requests.
You can view the code changes and configurations for each branch through the git commit history.
- Spring Boot: 2.3.8.RELEASE
- JDK: 1.8
- Activiti: 5.22.0
- Adds Activiti JPA dependency to the activiti5 branch.
- Changes include adding JPA configuration and dependencies to
pom.xml
and updating the application configuration.
- Spring Boot: 3.4.0
- JDK: 17
- Activiti: 7.1.0.M6
- Changes include updating dependencies in
pom.xml
, modifying application configuration, and updating code to be compatible with the new versions.
- Replaces Activiti 7.1.0.M6 with Flowable 7.1.0.
- Changes include updating dependencies in
pom.xml
, modifying application configuration, and updating code to be compatible with Flowable.
- Same as the flowable7 branch.
This project is licensed under the Apache License 2.0. See the LICENSE file for details.