Examination and approval process configuration method, system and device, storage medium and program product

By encapsulating the process engine into a WebAPI and using the BPMN designer to define approval processes, the problems of process reuse and rapid response in group management scenarios are solved, enabling flexible process configuration and cross-level management, and improving the efficiency of enterprise business processes.

CN121957653APending Publication Date: 2026-05-01PETROCHINA CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
PETROCHINA CO LTD
Filing Date
2024-10-30
Publication Date
2026-05-01

AI Technical Summary

Technical Problem

In a group management scenario, existing technologies cannot effectively reuse the same functions, resulting in a large amount of repetitive work, an inability to quickly respond to changing customer business needs, and an inability to unify business process management across the entire group.

Method used

The workflow service module encapsulates the process engine into a Web API, uses the BPMN workflow designer to define approval flows, and calls the process engine through the Web API for parsing and processing, thus building an approval process configuration system that supports visual process definition and combination.

Benefits of technology

It enables flexible process configuration in multi-level organizational structures within large-scale enterprises, reducing code development work, improving the efficiency and scalability of business function development, and supporting cross-level process management and rapid response to business changes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121957653A_ABST
    Figure CN121957653A_ABST
Patent Text Reader

Abstract

The invention discloses an approval process configuration method, system and device, a storage medium and a program product, and the method comprises the following steps: packaging a process engine into a WebAPI for terminal service calling through a workflow service module, and providing a BPMN-based workflow designer through the workflow service module; constructing an approval flow service module based on the workflow designer, defining an approval flow conforming to real businesses through the approval flow service module, and converting the approval flow into a BPMN definition; the examination and approval flow service module calls a flow engine through a WebAPI to analyze and process the BPMN definition so as to realize the operation of real business; wherein the terminal service comprises an approval flow service module. According to the method, visual definition and combination processes of various users can be met, and the demand of online circulation of actual business of an enterprise is met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computer communication technology, and in particular to approval process configuration methods, systems, devices, storage media, and program products. Background Technology

[0002] In group management scenarios, there are numerous companies, departments, or organizations with diverse needs. Relying on coding to respond to customized requirements would result in a large design and development workload and a long construction cycle. Meanwhile, similar needs also exist within group management scenarios.

[0003] The existing approach cannot effectively reuse the same functions when customizing systems for individual units, and it cannot respond uniformly when the same control requirements change across the entire group, resulting in duplicated workload. When building an information system for a specific company, the existing solution also has the problem of not being able to quickly respond to the changing business needs of the client.

[0004] To meet the complex business management needs of some group companies with large scale and multiple levels, and to improve work efficiency and management effectiveness, enterprises need to continuously improve the standardization of process management and technical support to adapt to the rapid development of internal business.

[0005] Therefore, there is an urgent need to develop a method for configuring approval processes on a business process management platform that can support flexible configuration and combination of business processes, quickly respond to business changes, support more comprehensive functions, and adapt to richer business scenarios. Summary of the Invention

[0006] The purpose of this invention is to provide an approval process configuration method, system, device, storage medium, and program product that can meet the needs of various users to visually define and combine processes, and realize the online flow of actual business operations for enterprises.

[0007] To achieve the above objectives, the present invention provides the following technical solution:

[0008] In a first aspect, embodiments of the present invention provide an approval process configuration method, the method comprising the following steps:

[0009] The workflow service module encapsulates the process engine into a Web API for terminal services to call, and provides a BPMN-based workflow designer through the workflow service module.

[0010] An approval flow service module is built based on the workflow designer. An approval flow service module defines an approval flow that conforms to real business operations and converts the approval flow into a BPMN definition.

[0011] The approval workflow service module uses WebAPI to call the workflow engine to parse and process the BPMN definition, enabling the execution of real-world business processes.

[0012] The terminal service includes an approval flow service module.

[0013] Secondly, embodiments of the present invention provide an approval process configuration system, the system comprising:

[0014] The workflow service module is used to encapsulate the process engine into a Web API for terminal services to call, and provides a BPMN-based workflow designer.

[0015] The approval flow service module is used to define approval flows that conform to real-world business based on the workflow designer, convert the approval flows into BPMN definitions, and parse and process the BPMN definitions by calling the process engine through WebAPI.

[0016] The process engine is used to parse and process BPMN definitions.

[0017] Thirdly, embodiments of the present invention also provide an electronic device, including a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program or instructions to implement the aforementioned approval process configuration method.

[0018] Fourthly, embodiments of the present invention also provide a computer storage medium storing a computer program or instructions, which, when executed by a processor, implement the aforementioned approval process configuration method.

[0019] Fifthly, embodiments of the present invention also provide a computer program product, including a computer program or instructions, which, when executed by a processor, implement the aforementioned approval process configuration method.

[0020] The technical effects and advantages of this invention are as follows: This invention can solve the problem of complex business processes in large-scale or large enterprises that require the participation of different users in multi-level organizational structures. It meets the needs of various users to define and combine processes through visual tools to realize the online flow of actual business operations. Function development users can define system function processes or business segments to reduce code development work and improve the efficiency and scalability of business function development. Business management users can define actual business processes and bring them online. The business process management platform built using the configuration method of this invention can diversify interface configurations, arbitrarily intervene in the process flow during runtime, and solve the uncertainty of process nodes being rolled back and then re-flowing, as well as the unknown nature of the personnel sending and receiving process nodes.

[0021] Other features and advantages of the invention will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practicing the invention. The objects and other advantages of the invention may be realized and obtained by means of the structures pointed out in the description, claims and drawings. Attached Figure Description

[0022] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0023] Figure 1 This is a flowchart illustrating an approval process configuration method according to an embodiment of the present invention;

[0024] Figure 2 This is a flowchart illustrating the storage service submodule in an embodiment of the present invention;

[0025] Figure 3 This is a schematic diagram of the MySQL master-slave mode in an embodiment of the present invention;

[0026] Figure 4 This is a schematic diagram of the distributed caching process in an embodiment of the present invention;

[0027] Figure 5 This is a flowchart illustrating the log service submodule in an embodiment of the present invention.

[0028] Figure 6 This is a flowchart illustrating the integration service module in an embodiment of the present invention;

[0029] Figure 7 This is a flowchart illustrating the hierarchical management service module in an embodiment of the present invention;

[0030] Figure 8 This is a flowchart illustrating the workflow service module in an embodiment of the present invention.

[0031] Figure 9 This is a flowchart illustrating the approval flow service module in an embodiment of the present invention;

[0032] Figure 10 This is a schematic diagram of the structure of an approval process configuration system according to an embodiment of the present invention;

[0033] Figure 11 This is a detailed structural diagram of an approval process configuration system according to an embodiment of the present invention;

[0034] Figure 12 This is a schematic diagram of the structure of an electronic device according to an embodiment of the present invention. Detailed Implementation

[0035] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0036] To address the shortcomings of existing technologies, this invention discloses an approval process configuration method, which includes the following steps:

[0037] Step S1: Encapsulate the process engine into a Web API using the workflow service module for terminal service to call, and provide a BPMN-based workflow designer through the workflow service module; wherein, the terminal service includes an approval flow service module;

[0038] Step S2: Construct an approval flow service module based on the workflow designer, define an approval flow that conforms to the actual business through the approval flow service module, and convert the approval flow into a BPMN definition;

[0039] Step S3: The approval flow service module calls the process engine through WebAPI to parse and process the BPMN definition, thereby enabling the execution of real-world business processes.

[0040] In some specific embodiments, the present invention further includes the following steps before step S1:

[0041] Step a: Build the underlying basic service modules to provide basic support for the upper-layer service modules; this includes the following steps:

[0042] like Figure 11 As shown, the underlying basic service module includes a storage service submodule, a message service submodule, a caching service submodule, and a log service submodule; the upper-layer service module includes a process engine and a functional service module, the functional service module including a workflow service module, an approval workflow service module, an integration service module, and a hierarchical management service module.

[0043] Establish a storage service submodule as the entry point for data storage. Use the storage service submodule to define the database sharding and table partitioning rules for each service module, and control the storage location of the data generated by each service module.

[0044] Among them, such as Figure 2As shown, the defined database sharding and table partitioning rules include a definition identifier and sharding or table partitioning rule information (where the sharding and table partitioning rules include horizontal sharding and table partitioning rules and vertical sharding and table partitioning rules); when external services or terminal services need storage, the defined identifier can be used to call the database adapter or table partitioning adapter to obtain the corresponding data storage location information (that is, by resolving the unique identifier of a certain business storage through the database adapter or table partitioning adapter to obtain the corresponding sharding and table partitioning rules defined by the identifier, and returning the database connection address); in addition, as Figure 3 As shown, the storage service submodule uses MySQL to build a master-slave cluster mode to provide database storage for each service module.

[0045] Construct a message service submodule, utilize the message service submodule to provide message queues, and formulate unified queue naming and topic naming standards and specifications;

[0046] The message service submodule includes the message service middleware RabbitMQ and Kafka. Each service submodule communicates using RabbitMQ, and log collection uses Kafka for reception. RabbitMQ uses a multi-node cluster mode, with half being memory nodes and the other half being disk nodes, to ensure both high performance and high reliability. The naming rules for the topics of messages published by each service submodule and each service module (i.e., each functional service module) are based on a unique identifier agreed upon by the service submodule and the service module, with specific functional behaviors named using past participle forms of verbs, such as workflow.task.created.

[0047] Establish a caching service submodule, utilize the caching service submodule to provide distributed caching, and formulate a unified key naming standard specification;

[0048] The caching service uses Redis to build a cluster, employing a master-slave mode plus a sentinel mode to ensure high availability. Figure 4 As shown, each application service (referring to each functional service module) performs distributed caching of configuration data to improve the operating efficiency of the service modules;

[0049] When an application service (referring to a functional service module) receives a request, if it queries data that can be cached, it first queries the Redis cluster. If the data is found, it is returned directly. If the data does not exist in the cache, it queries the database and writes the query result to Redis. The naming rules for the keys of cached data of each service sub-module and each service module (i.e., each functional service module) are to concatenate the unique identifier agreed upon by the microservice and module, and add the data ID name, such as workflow_definition_{Id}.

[0050] A log service submodule is constructed to provide a unified log output standard and collection strategy, as well as a unified log viewing function; specifically including:

[0051] The log service submodule defines a unified log recording method, log output format, and log output method for the configuration system, and also defines a unified log collection method to collect the logs output by each service into an ES file in a fixed manner.

[0052] The unified output format is as follows: Figure 5 As shown, each service uses a unified log specification format to output logs; the console outputs all types of logs, the disk file outputs Fatal level (i.e., severe error level) and Error level (i.e., error level) logs, and Kafka outputs Info, Warning, Debug and Trace level logs.

[0053] Unified log viewing functionality: Logs in disk files are collected by LogStash and synchronized to Elasticsearch (ES), logs in Kafka are consumed by KafkaConnect and synchronized to ES, and finally all logs are viewed through ES.

[0054] Step b: Build an integration service module to integrate various service modules with external services, including:

[0055] like Figure 6 As shown, the integration service module is used to define business (i.e., define each business in the real business), business point (i.e. define the process nodes of the business), and form.

[0056] The integration adapter unifies the business definition, business point definition, form definition, and external services, and provides standard data interfaces to various functional service modules. Through unified processing of integrated services, it avoids direct dependence on external services and meets the expansion needs of different businesses. The external services include external organizations, organizational personnel, and personnel positions.

[0057] That is, in this embodiment of the invention, the integration service module provides the function of defining general business concepts, as well as the integration and adaptation of external services, and converts external data into the internally agreed standard format for use by other service modules;

[0058] Based on the actual business requirements to be met, the integration adapter defines a standard data model for external service data, and all subsequent data outputs follow this standard output. For input data, different data templates are configured according to different data sources to perform batch data conversion to meet data standard requirements, as shown below.

[0059]

[0060] Step c: Establish a hierarchical management service module, such as Figure 7 As shown, based on the business definition in the integrated service module, the hierarchical management service module sets the process hierarchy (i.e., hierarchical definition) of the actual business, and sets the member units participating in each level of process, as well as the process maintenance definition of each member unit, so as to realize cross-level reporting and distribution.

[0061] This includes defining the participating member units for each level of the process and the process maintenance definitions for each member unit, to enable cross-level reporting and distribution, including:

[0062] Each member unit can define its own approval flow, as well as set the conditions and rules for automatic reporting or automatic distribution after the completion of its own process, and the hierarchical mapping relationship; the hierarchical management service module subscribes to the event of the completion of the process run by the workflow service module. When the process run of a member unit ends, the hierarchical management service module obtains the corresponding conditions and rules, and automatically reports or distributes the results after the trigger conditions are met, so as to continue the operation of the business process.

[0063] In some specific embodiments, step S1: The workflow service module encapsulates the process engine into a Web API for terminal service calls, and provides a workflow designer based on BPMN (Business Process Model and Notation) through the workflow service module; including the following steps:

[0064] like Figure 8 As shown, Activiti was selected as the process engine, and a workflow service module was built based on the Activiti process engine and the BPMN2.0 model.

[0065] The workflow service module is mainly responsible for defining, managing and executing workflows, while the workflow designer is used for creating and designing workflows. The workflow service module includes a workflow designer, which is a process design tool. The workflow designer mainly includes the bpmn.js plugin, which is a web-based tool library for displaying and editing workflows based on BPMN 2.0.

[0066] The workflow service module encapsulates the UserTask in the BPMN2.0 model. By assigning specific job positions as task handlers for the encapsulated UserTasks and defining filtering rules within each job position, the integration service module parses these filtering rules, facilitating the selection of personnel from job positions as task handlers by enterprises or organizations.

[0067] The workflow designer can be used to extend the configurable attribute configuration according to actual business requirements; for example, add form mapping attributes to UserTask, and after defining the form through the integration service, the matching of task business forms can be achieved through user settings; for example, add job position attributes as candidates to UserTask, etc.

[0068] Then the process engine adapts the extended attributes, but the process engine does not process the results of attributes that depend on external data or external services. For example, it will not directly convert the job attribute into the user who will ultimately handle the task (i.e., the task handler) during the process. This action will be handled by the process adapter. In the end, the actual business process will retain both the job and the user's pending task.

[0069] The Activiti workflow engine is encapsulated into a Web API through the workflow service module, and standard specifications for interface parameters are defined so that external terminal services can call it to customize real-world business processes and meet the workflow requirements of real-world businesses.

[0070] In some specific embodiments, step S2: Constructing an approval flow service module based on the workflow designer, defining an approval flow that conforms to real-world business requirements through the approval flow service module, and converting the approval flow into a BPMN definition; includes the following steps:

[0071] An approval flow service module is built based on the workflow designer. The approval flow service module includes a simplified designer and a parsing converter. The simplified designer is a visual, simplified version of the workflow designer for external services.

[0072] The simplified designer is generated by retaining the UserTask and SequenceFlow concepts of the BPMN2.0 model and adding new business points;

[0073] The business point has one and only one standard BPMN2.0 process definition for UserTask, which aims to implement various business logics other than user operations (i.e., in addition to the basic attributes of UserTask). In order to meet the needs of real business, the simplified designer has added many new attribute settings for users to configure, such as process rollback settings, countersigning settings, and condition settings.

[0074] like Figure 9 As shown, users configure the attributes of a real-world business process visually through the simplified designer of the approval flow service module to complete the design of the approval flow. The parsing converter parses and converts the user-defined real-world business process attribute configuration into a standard BPMN 2.0 definition and combines them. Then, the approval flow service module sends the BPMN 2.0 definition to the process engine in the workflow service module via WebAPI for processing, that is, the BPMN 2.0 definition completes the entire approval process in the form of a workflow.

[0075] In some specific embodiments, step S3: The approval flow service module calls the process engine through WebAPI to parse and process the BPMN definition, thereby enabling the execution of real-world business processes; this includes the following steps:

[0076] The process engine includes a process controller, a BPMN parser, a BPMN processor, a context processor, a runtime processor, an operation history processor, and a task processor; wherein, the process controller provides unified management and control over the processing logic in the process engine.

[0077] The approval flow service module sends the BPMN definition to the process engine via WebAPI, such as... Figure 8 As shown, the process controller controls the BPMN parser to parse the received BPMN definition into a file (from XML to a memory object), and the process controller writes the process context information in the BPMN definition by controlling the context processor.

[0078] The process controller sends process context information to the execution processor for process processing by controlling the context processor. The execution processor calls the BPMN processor and various internal function processors and parsers to automate the business process. The various internal function processors and parsers include expression parsers, message processors, and rule engines.

[0079] The process controller calls the operation history processor to record the operation history of the BPMN defined inside the process engine, and calls the task processor based on the operation history to generate the tasks to be processed in the actual business.

[0080] Based on the same inventive concept, embodiments of the present invention disclose an approval process configuration system, such as... Figure 10 As shown, the system includes:

[0081] The workflow service module is used to encapsulate the process engine into a Web API for terminal services to call, and provides a BPMN-based workflow designer.

[0082] The approval flow service module is used to define approval flows that conform to real-world business based on the workflow designer, convert the approval flows into BPMN definitions, and parse and process the BPMN definitions by calling the process engine through WebAPI.

[0083] The process engine is used to parse and process BPMN definitions.

[0084] In some specific embodiments, such as Figure 11 As shown, the system also includes an underlying basic service module, an integration service module, and a hierarchical management service module.

[0085] The underlying basic service module is used to provide basic support for the upper-level service modules; wherein, the upper-level service modules include a process engine and functional service modules, and the functional service modules include a workflow service module, an approval workflow service module, an integration service module, and a hierarchical management service module;

[0086] The integrated service module is used to integrate various functional service modules with external services; wherein, the external services include external organizations, organizational personnel, and personnel positions;

[0087] The hierarchical management service module is used to set up hierarchical processes for real-world business based on the business definitions in the integrated service module, and to set up the member units and process maintenance definitions corresponding to each level of process, so as to realize cross-level reporting and distribution.

[0088] In some specific embodiments, the underlying basic service module includes a storage service submodule, a message service submodule, a caching service submodule, and a log service submodule.

[0089] The storage service submodule is used to define the database sharding and table sharding rules for each service module, as well as to control the storage location of the data generated by each service module.

[0090] The message service submodule is used to provide message queues and to define unified queue naming and topic naming standards.

[0091] The cache service submodule is used to provide distributed caching and to define a unified key naming standard.

[0092] The log service submodule is used to provide a unified log output standard and collection strategy, as well as a unified log viewing function.

[0093] Regarding the system in the above embodiments, the specific manner in which each unit module performs operations has been described in detail in the embodiments related to the method, and will not be elaborated here.

[0094] Based on the same inventive concept, embodiments of the present invention also provide an electronic device, the structure of which is as follows: Figure 12 As shown, it includes a memory, a processor, and a computer program stored in the memory. The processor executes the computer program or instructions to implement the aforementioned approval process configuration method.

[0095] Based on the same inventive concept, embodiments of the present invention also provide a computer storage medium storing a computer program or instructions, which, when executed by a processor, implements the aforementioned approval process configuration method.

[0096] Based on the same inventive concept, embodiments of the present invention also provide a computer program product, including a computer program or instructions, which, when executed by a processor, implement the aforementioned approval process configuration method.

[0097] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing embodiments or make equivalent substitutions for some of the technical features. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.

Claims

1. A method for configuring an approval process, characterized in that, The method includes: The workflow service module encapsulates the process engine into a Web API for terminal services to call, and provides a BPMN-based workflow designer through the workflow service module. An approval flow service module is built based on the workflow designer. An approval flow service module defines an approval flow that conforms to real business operations and converts the approval flow into a BPMN definition. The approval workflow service module uses WebAPI to call the workflow engine to parse and process the BPMN definition, enabling the execution of real-world business processes. The terminal service includes an approval flow service module.

2. The approval process configuration method according to claim 1, characterized in that, The method also includes building a low-level basic service module to provide basic support for the upper-level service modules, including: Establish a storage service submodule, and use the storage service submodule to define the database sharding and table partitioning rules for each service module, as well as control the storage location of the data generated by each service module; Construct a message service submodule, utilize the message service submodule to provide message queues, and formulate unified queue naming and topic naming standards and specifications; Establish a caching service submodule, utilize the caching service submodule to provide distributed caching, and formulate a unified key naming standard specification; Construct a log service submodule to provide a unified log output standard and collection strategy, and provide a unified log viewing function; The underlying basic service module includes a storage service submodule, a message service submodule, a cache service submodule, and a log service submodule; The upper-level service module includes a process engine and a functional service module. The functional service module includes a workflow service module, an approval workflow service module, an integration service module, and a hierarchical management service module.

3. The approval process configuration method according to claim 1 or 2, characterized in that, The method further includes: constructing an integration service module, and using the integration service module to integrate various service modules with external services, including: Business definitions, business point definitions, and form definitions are performed through the integrated service module; The integration adapter is built to unify and integrate business definitions, business point definitions, form definitions, and external services, and to provide standard data interfaces to various functional service modules. The external services include external organizations, organizational personnel, and personnel positions.

4. The approval process configuration method according to claim 3, characterized in that, The workflow service module encapsulates the process engine into a Web API for terminal services to call. The workflow service module also provides a BPMN-based workflow designer, including: Activiti was selected as the process engine, and a workflow service module was built based on the Activiti process engine and the BPMN2.0 model; wherein, the workflow service module includes a workflow designer, which is a process design tool; The workflow service module is used to encapsulate the UserTask in the BPMN2.0 model. Specific job positions are designated as task handlers of the encapsulated UserTask, and filtering rules are defined within each job position. The workflow designer extends the configurable attribute configuration according to actual business requirements, and the process engine adapts the extended attributes. The Activiti process engine is encapsulated into a Web API through the workflow service module, and standard specifications for interface parameters are defined so that external terminal services can call it to customize the actual business process. The integration service module parses the filtering rules within each job position.

5. The approval process configuration method according to claim 1, characterized in that, An approval flow service module is built based on the workflow designer. This module defines approval flows that conform to real-world business processes and converts these flows into a BPMN definition, including: An approval flow service module is built based on the workflow designer. The approval flow service module includes a simplified designer and a parsing converter. The simplified designer is a visual, simplified version of the workflow designer for external services. The simplified designer is generated by retaining the UserTask and SequenceFlow concepts of the BPMN2.0 model and adding new business points; wherein, each business point has a standard BPMN2.0 process definition of only one UserTask; Users can complete the design of the approval flow by visually configuring the attributes of real-world business processes through the simplified designer of the approval flow service module. The parsing converter parses and converts the user-defined attribute configuration of real-world business into a standard BPMN 2.0 definition.

6. The approval process configuration method according to claim 1 or 5, characterized in that, The approval workflow service module uses WebAPI calls to the workflow engine to parse and process the BPMN definition, including: The process engine includes a process controller, a BPMN parser, a BPMN processor, a context processor, a runtime processor, an operation history processor, and a task processor; wherein, the process controller provides unified management and control over the processing logic in the process engine. The approval flow service module sends the BPMN definition to the process engine via WebAPI. The process controller controls the BPMN parser to parse the received BPMN definition. Then, the process controller writes the process context information in the BPMN definition by controlling the context processor. The process controller sends process context information to the execution processor for process processing by controlling the context processor. The execution processor calls the BPMN processor and various internal function processors and parsers to automate the business process. The process controller calls the operation history processor to record the operation history of the BPMN defined inside the process engine, and calls the task processor based on the operation history to generate the tasks to be processed in the actual business.

7. The approval process configuration method according to claim 3, characterized in that, The method further includes: A hierarchical management service module is established. Based on the business definitions in the integrated service module, the hierarchical management service module is used to set the process hierarchy of the actual business and set the member units and process maintenance definitions corresponding to each level of process, so as to realize cross-level reporting and distribution. This includes defining the participating member units and their process maintenance for each level of the process to enable cross-level reporting and distribution, including: Each member unit can define its own approval workflow, as well as set the conditions and rules for automatic reporting or automatic distribution after the completion of its own process, and the hierarchical mapping relationship; When a member unit's process ends, the hierarchical management service module obtains the corresponding condition rules, and automatically reports or issues them after the trigger conditions are met, so as to continue the operation of the business process.

8. An approval process configuration system, characterized in that, The system includes: The workflow service module is used to encapsulate the process engine into a Web API for terminal services to call, and provides a BPMN-based workflow designer. The approval flow service module is used to define approval flows that conform to real-world business based on the workflow designer, convert the approval flows into BPMN definitions, and parse and process the BPMN definitions by calling the process engine through WebAPI. The process engine is used to parse and process BPMN definitions.

9. The approval process configuration system according to claim 8, characterized in that, The system also includes an underlying basic service module, an integration service module, and a hierarchical management service module. The underlying basic service module is used to provide basic support for the upper-level service modules; wherein, the upper-level service modules include a process engine and functional service modules, and the functional service modules include a workflow service module, an approval workflow service module, an integration service module, and a hierarchical management service module; The integrated service module is used to integrate various functional service modules with external services; wherein, the external services include external organizations, organizational personnel, and personnel positions; The hierarchical management service module is used to set up hierarchical processes for real-world business based on the business definitions in the integrated service module, and to set up the member units and process maintenance definitions corresponding to each level of process, so as to realize cross-level reporting and distribution.

10. An approval process configuration system according to claim 9, characterized in that, The underlying basic service modules include a storage service submodule, a message service submodule, a caching service submodule, and a log service submodule. The storage service submodule is used to define the database sharding and table sharding rules for each service module, as well as to control the storage location of the data generated by each service module. The message service submodule is used to provide message queues and to define unified queue naming and topic naming standards. The cache service submodule is used to provide distributed caching and to define a unified key naming standard. The log service submodule is used to provide a unified log output standard and collection strategy, as well as a unified log viewing function.

11. An electronic device, characterized in that, It includes a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program or instructions to implement an approval process configuration method as described in any one of claims 1-7.

12. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program or instructions, which, when executed by a processor, implement an approval process configuration method as described in any one of claims 1-7.

13. A computer program product, comprising a computer program or instructions, characterized in that, When the computer program or instructions are executed by the processor, they implement an approval process configuration method as described in any one of claims 1-7.