Office flow processing method based on workflow engine

By introducing Camunda and vue+antdesign into the workflow engine, combining JSON protocol and plug-in monitoring, the process approval scenario is quickly visualized and dynamic form generation, solving the problem of unfriendly process configuration and operation in the existing technology, and improving the problem of unfriendly process configuration and operation in the existing technology. User experience and process efficiency.

CN119088371APending Publication Date: 2024-12-06中国太平洋财产保险股份有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411032333.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-30
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

The existing open source workflow engine cannot realize the rapid visual configuration of process approval scenarios and dynamic generation of form pages, and the operation pages are unfriendly and difficult to meet the user's usage needs.

Method used

It adopts the Camunda workflow engine based on the BPMN2.0 specification, combines vue and antdesign to realize process canvas drawing, uses the JSON protocol for parsing and form JSON generation, provides process definition information tables and plug-in listening interfaces, supports dynamic rendering of forms and personnel box selection, Record process task status and personnel information.

Benefits of technology

It realizes rapid visual configuration of process approval scenarios, is convenient to operate, improves user experience, and meets the process processing needs of Chinese people's usage habits.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119088371A_ABST
    Figure CN119088371A_ABST
Patent Text Reader

Abstract

The invention discloses an office process processing method based on a workflow engine. The method comprises the following steps: S1) introducing a Camunda workflow engine based on a BPMN2.0 specification; s2) a front-end process uses vue + antdesign to realize canvas drawing, and a back-end process adopts a JSON protocol to analyze and convert the information into xml information of BPMN2.0; s3) providing a set of flow definition information table according to a service scene, and providing an interface for external dynamic processing by using plug-in monitoring; s4) generating a form JSON (JavaScript Object Notation) which can be rendered dynamically through checking of page fields, and storing the form JSON in the process definition information table; s5) when the flow runs, providing a set of flow running matching table; and S6) when a process task is created, calling plug-in monitoring to dynamically screen a task processor according to the configuration table. According to the method, the visual configuration of the process approval scene can be quickly completed, and the user experience is greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to an office process processing method, and in particular to an office process processing method based on a workflow engine. Background Art

[0002] BPMN (Business Process Model & Notation) is a business process model and notation that defines a business process diagram. A business process diagram consists of a series of graphical elements. These elements simplify the development of the model. Each element has its own characteristics and is similar to most modelers, so it looks very familiar to business analysts. BPMN2.0 was developed by OMG (Object Management Group). Its main purpose is to provide users with a simple and easy-to-understand mechanism to create process models; it also enables users to handle the inherent complexity of different process models.

[0003] The process canvas of the native open source framework is drawn based on the BPMN protocol rules. It cannot be used directly after configuration in terms of approver establishment, form definition, permission management and notification settings. Generally, it is necessary to combine some code development to realize related functions. In addition, the existing open source workflow engine cannot realize the dynamic generation of form pages, and the operation page is also very unfriendly to use. Summary of the invention

[0004] The technical problem to be solved by the present invention is to provide an office process processing method based on a workflow engine, which can quickly complete the visual configuration of process approval scenarios, is easy to operate, and greatly improves the user experience.

[0005] The technical solution adopted by the present invention to solve the above technical problems is to provide an office process processing method based on a workflow engine, comprising the following steps: S1) introducing a Camunda workflow engine based on the BPMN2.0 specification; S2) the front-end process uses vue+antdesign to realize canvas drawing, and the back-end uses the JSON protocol for parsing and converts it into BPMN2.0 xml information; S3) a set of process definition information tables is provided according to the business scenario, and an external listener is used to provide an interface for external dynamic processing; S4) by checking the page fields, a form JSON that can be dynamically rendered is generated, and the form JSON is saved in the process definition information table; S5) when the process is running, a set of supporting tables for process operation is provided to record the status of tasks in the process, to-do persons, reminder marks and client information; S6) when a process task is created, the external listener is called to dynamically filter the task handler according to the configuration table.

[0006] Furthermore, the step S3 uses a trigger or a listener as an external monitor.

[0007] Furthermore, in step S4, the front end implements a set of dynamic form rendering engines, and implements multiple control types for the generated form, including a drop-down box, a multiple-selection box, and a time control.

[0008] Furthermore, the matching table in step S5 provides a personnel selection box that conforms to the actual business scenario for the configuration of the approver of the initiating node, the approval node, and the handling node in the process.

[0009] Furthermore, the personnel selection supports department-defined positions, department-defined posts, position of a node handler's department, node handler, initiator's self-selection, assigned to post, assigned to post, assigned to department, and assigned to person.

[0010] Compared with the prior art, the present invention has the following beneficial effects: the office process processing method based on the workflow engine provided by the present invention realizes the process processing in a configurable manner, and develops a canvas design that conforms to the usage habits of Chinese people; thereby, the visual configuration of the process approval scene can be completed quickly, the operation is convenient, and the user experience is greatly improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] Figure 1 This is a flowchart of office process processing based on the workflow engine of the present invention;

[0012] Figure 2 A personnel selection diagram is provided for the approver configuration of the supporting table of the present invention. DETAILED DESCRIPTION

[0013] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0014] Figure 1 This is a flowchart of the office process processing based on the workflow engine of the present invention.

[0015] See also Figure 1 The office process processing method based on the workflow engine provided by the present invention generates JSON through a simplified process designer and converts it into the BPMN2.0 standard XML-driven workflow engine. The present invention can generate a form for operation in the process through elimination configuration, and the display and editing permissions of the fields can be flexibly configured. Specifically, it includes the following steps:

[0016] S1. Introduce the Camunda workflow engine based on BPMN2.0 specification;

[0017] S2. The front-end process canvas uses vue+antdesign to realize canvas drawing, and the protocol with the back-end is changed to JSON protocol. The back-end parses JSON and converts it into BPMN2.0 xml information. At the same time, the product designs a set of supporting process definition information tables, which are combined with the tables in the open source framework to implement related functions. At the same time, the use of triggers and listeners provides an interface for external dynamic processing.

[0018] S3. Generate a dynamically rendered form JSON by checking the page fields. The form JSON will be saved in the process definition information table of the product design. At the same time, the front end implements a set of dynamic form rendering engines to process JSON to generate forms and implement multiple control types, such as drop-down boxes, multiple selections, time controls, etc.

[0019] S4. When the process is running, the product has designed a set of supporting tables for the process operation, which will record the status of the tasks in the process, the person to be processed, the reminder mark, the client information, etc., so as to achieve a process operation habit that conforms to the Chinese people.

[0020] S5. Using the external monitoring during process definition, when creating a process task, the monitoring will be called to dynamically filter the task handler according to the configuration.

[0021] The present invention implements relevant functions in process management based on the Chinese operating system, such as initiator node configuration, process return, process withdrawal, return of initiator node, urging, delegation, etc. The configuration of the approver of the initiating node, approval node, and handling node in the process can support the selection of personnel that conforms to the actual business scenario. Support departments to formulate positions, departments to formulate positions, positions of the department where the node handler is located, node handlers, initiator self-selection, assignment to positions, assignment to positions, assignment to departments, assignment to people, such as Figure 2 shown.

[0022] The office process processing method based on the workflow engine provided by the present invention has the following advantages:

[0023] 1. The product implements a complete set of more efficient and friendly process engine components. When a process engine is needed in a project, this set of products can be used for integrated use.

[0024] 2. The optimization of the process canvas allows the configuration of the canvas to be completed by business personnel who do not understand technology.

[0025] 3. Realized the process processing function that conforms to the habits of Chinese people.

[0026] Although the present invention has been disclosed as above with preferred embodiments, it is not intended to limit the present invention. Any person skilled in the art may make some modifications and improvements without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the present invention shall be based on the definition of the claims.

Claims

1. A method for processing office processes based on a workflow engine, characterized in that: The steps include: S1) Introducing the Camunda workflow engine based on the BPMN2.0 specification; S2) The front-end process uses vue+antdesign to implement canvas drawing, and the back-end uses JSON protocol for parsing and converting into BPMN2.0 xml information; S3) Provide a set of process definition information tables according to the business scenario, and use external monitoring to provide an interface for external dynamic processing; S4) Generate a dynamically rendered form JSON by checking the page fields, and save the form JSON in the process definition information table; S5) When the process is running, a set of supporting tables for the process operation is provided to record the status of the tasks in the process, the person to be processed, the reminder mark and the client information; S6) When a process task is created, the external monitor is called to dynamically filter the task handler according to the configuration table.

2. The office process processing method based on workflow engine as claimed in claim 1, characterized in that: The step S3 uses a trigger or a listener as an external monitor.

3. The office process processing method based on workflow engine as claimed in claim 1, characterized in that: In step S4, the front end implements a set of dynamic form rendering engines, and implements multiple control types for the generated form, including a drop-down box, a multiple-selection box, and a time control.

4. The office process processing method based on workflow engine as claimed in claim 1, characterized in that: The matching table in step S5 provides personnel selection that conforms to the actual business scenario for the configuration of the approvers of the initiating node, the approval node, and the handling node in the process.

5. The office process processing method based on workflow engine as claimed in claim 4, characterized in that: The personnel selection box supports department-defined positions, department-defined positions, position of a node processor's department, node processor, initiator's self-selection, assignment to position, assignment to position, assignment to department, and assignment to person.