RuoYi-activiti is a workflow system based on the RuoYi open source permission management system and integrated with the activiti framework. It aims to create a powerful workflow system that integrates process design, process deployment, process execution, task management, and process monitoring. Workflow platform.
1. Create a new mysql database ry-activiti and import the SQL script ry-activiti.sql. Mysql is 5.7, the character set is utf8mb4, and the collation is utf8mb4_general_ci.
2. Compile and package the project and run java -jar ruoyi-admin.jar.
3. Open http://localhost to access the login page. The account admin password is admin123.
1. In order to maintain the versatility of the platform, all user task management interfaces can reuse /task/manage/completeTask/{taskId}.
2. For form processing, always use external forms, and save business form data in the business table, not in the variable table of the activiti process.
3. The front-end page is associated with the user task through formkey. When handling the task, the corresponding front-end page is displayed by obtaining the formkey value.
4. Integrate the flow chart online designer. After design, it needs to be published to complete the deployment of the process.
5. If you need to add a new process, you need to write front-end and back-end codes to complete the development of business logic after the design is completed.
6. The infrastructure for addition, deletion, modification, permission management, code generation, and page interaction is provided by the Ruoyi platform.
7. Process instance management is used to manage the list of running process instances. You can suspend or wake up a process instance.
8. Process running history is used to view the history of the process (including running and ended), and you can also view the variables of all processes.
9. Support dynamic processes, and can cancel, reject, jump and other operations on process instances.