Springboot integrates activiti’s own online process editor, the whole program source code, leave approval

Time:2022-8-2

preface

At present, there are many open source platforms in the market that do not integrate workflow. Even if there is, it is also a commercial version at a high price. Looking at the estimation of this article, I also understand the market. It is certainly not cheap. My rapid development platform integrates workflow on the basic functions of the system (user management, Department Management…). You can directly use it to develop ERP, OA, CRM and other enterprise applications. You don’t have to worry about how to spend a lot of time integrating workflow. Bloggers are individual developers. I have studied workflow for several years. I vaguely remember that the first time I wrote workflow was used in the car application business of a Provincial Bureau in Jiangsu Province. At that time, I was young and energetic, but my ability was limited. I stayed up for dozens of nights and came out. Even if I came out, the code was very messy. Later, I also participated in the development of workflow in several systems. At present, this set is extracted separately and made pluggable, which can be easily integrated into your program. Now let’s explore.

1、 Project form

Springboot+vue+activiti integrates activiti online editor, rapid development platform and pluggable workflow services.

2、 Project introduction

This project has user management, department management, code generation, system supervision, reports, large screen display, business approval and other functions. The function is too powerful. You can only introduce rough ore. what you see is what you get. Experience it.

3、 Workflow

1. Process model drawing

Enter the process model menu to create a process model, which involves gateway flow, and the flow conditions need to be set. Here, we are going to the lower branch for those over 30 years old and the upper branch for those under 30 years old. Click the branch line and set the circulation conditions$ {age<=30}。 After saving, we can click publish in the list.
Springboot integrates activiti's own online process editor, the whole program source code, leave approval
Springboot integrates activiti's own online process editor, the whole program source code, leave approval
Springboot integrates activiti's own online process editor, the whole program source code, leave approval

2. Process configuration

After publishing, the list of published models will be reached. Before enabling, we need to set nodes and associate specific documents.

Springboot integrates activiti's own online process editor, the whole program source code, leave approval
The approver can directly specify the person, Department, department head, initiator and department head according to the role, which basically meets all the flow needs, and can set form variables.

Springboot integrates activiti's own online process editor, the whole program source code, leave approval
Set up the process form. At present, a test form for asking for leave is made, and the corresponding roles can be authorized to achieve user-defined permissions.
Springboot integrates activiti's own online process editor, the whole program source code, leave approval
Start after setting.

3. Process submission

Fill out the leave form
Springboot integrates activiti's own online process editor, the whole program source code, leave approval
Springboot integrates activiti's own online process editor, the whole program source code, leave approval

When submitting documents, the priority is divided into ordinary, important and urgent. Message notification can choose station notification, SMS and email.

Springboot integrates activiti's own online process editor, the whole program source code, leave approval

Documents can be withdrawn after submission.
Springboot integrates activiti's own online process editor, the whole program source code, leave approval
Check the process flow progress.

Springboot integrates activiti's own online process editor, the whole program source code, leave approval

You can also suspend and delete the process.
Springboot integrates activiti's own online process editor, the whole program source code, leave approval

4. Process approval

The handler can approve the list, process the document (reject or pass), or entrust others to do it.
Springboot integrates activiti's own online process editor, the whole program source code, leave approval
Approved.
Springboot integrates activiti's own online process editor, the whole program source code, leave approval
Entrust others to wait.
Springboot integrates activiti's own online process editor, the whole program source code, leave approval

Enter the to do list after approval.
Springboot integrates activiti's own online process editor, the whole program source code, leave approval

If you are older than 30 years old, enter the following branches for circulation.
Springboot integrates activiti's own online process editor, the whole program source code, leave approval

Approved.

Springboot integrates activiti's own online process editor, the whole program source code, leave approval

5. To do information push

In station message push.
Springboot integrates activiti's own online process editor, the whole program source code, leave approval

summary

The above only shows the approval process function of the platform, and there are many other functions that have not been shown. I have also written some very useful components to achieve agile and rapid development of the system, which greatly reduces the development time and cost. At present, I am docking with mobile terminal approval. Because there was no time to deploy the online test environment before, considering the recent deployment, you can contact me alone for remote demonstration. If you need the source code, please contact me. q:2500564056。

Thanks:
Jeecgboot open source http://jeecg.com/
Coffee rabbit activiti practice https://kafeitu.me/