(Enterprise level) SprinBoot2.X integrates Flowable6.6 workflow engine

Previous: SpringBoot2.x Flowable 6.4.2 Enterprise-level Open Source Project
Insert picture description here
Insert picture description here


Insert picture description here
Code cloud open source address: https://gitee.com/lwj/flow
GitHub open source address: https://github.com/ecnice/flow
flowable learning can join the group: 633168411
Description: This project is my master to help more children Partner entry Workflow Open source project
flowable table structure Daquan

Article Directory

1. Clone the project to local
Statement: ①IntelliJ IDEA tool pull, ②graphical version and ③command version can be selected at will
Insert picture description here
1.1. IntelliJ IDEA
Insert picture description here


Insert picture description here
1.2. TortoiseGit
Insert picture description here
1.3. Command
git clone [email protected]:lwj/flow.git
2. Background project operation
2.1. Open the project with idea
Insert picture description here


Insert picture description here
Insert picture description here
2.2. Create a database
Install the database Create a new database flow-6.6Import database script:docs/sql/flow.sql
Insert picture description here


Insert picture description here
2.3. Configure the data source
Modify flow-adminthe resourcesconfiguration file application-local.properties
under the module to modify the corresponding configuration according to your own database
Insert picture description here
2.4. Start
Start the application under the flow-admin modulecom.dragon.flow.main.FlowAdminApplication
Insert picture description here
2.5. Browser access

Access path: http://localhost:8988/index.html

account numberpasswordCharacter
10100888888Super administrator
10101888888Ordinary administrator
Insert picture description here


Insert picture description here


Insert picture description here
Third, the portal background project operation
3.1. Modify the data source
Insert picture description here
3.2. Starting the project
Insert picture description here
3.3. Browser access

Access path: http://localhost:8990/index.html

account numberpasswordCharacter
10100888888Super administrator
10101888888Ordinary administrator
Insert picture description here


Insert picture description here
Four, matters needing attention
4.1. Instance not found exception
Due to idea settings

javax.management.InstanceNotFoundException: org.springframework.boot:type=Admin,name=SpringApplicati

Solution: https://gblfy.blog.csdn.net/article/details/116896512

Insert picture description here
4.2. Configuration file configuration does not take effect
Phenomenon: The
activation environment configuration has been configured in the application.properties file, but it does not take effect.
Analysis : Case 1: No configuration
. Case 2: Configuration is not scanned
. Case 3: Configuration is scanned but not. Compilation is complete
According to our own project situation, we belong to the third case
solution:
recompile the project
Insert picture description here


solution:

Insert picture description here
4.3. File not found exception
Phenomenon analysis: The
file cannot be found, there are the following possibilities:
①The file itself does not exist
②The file exists, but they are not dependent
③The file exists and is dependent, but the compilation is incomplete.
Solution:
Recompile the project
Insert picture description here
Insert picture description here
4.4. Authentication exception
Phenomenon analysis: It is
caused by the cache of the acquired remember me, but the project is started for the first time, so it is a cache problem.
Solution:
Clear the cache
Insert picture description here
Insert picture description here
4.5. Request exception
Insert picture description here
Phenomenon analysis:
The project is started in a sequential order. The front-end portal calls the back-end service. Therefore, the premise of the front-end portal to call the service is that the back-end service is running normally.
Solution:
start first FlowAdminApplicationand then startFlowFrontApplication
Insert picture description here
Insert picture description here