Generation method of approval process, approval method, device, equipment and medium

By using the workflow engine in the business process management system to simulate the approval process and determine the key path, the problem of opaque approval paths is solved, the degree of intelligence and efficiency of approvals is improved, and the user experience is improved.

CN119648148APending Publication Date: 2025-03-18CERNET CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411759633.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-03
Publication Date
2025-03-18

AI Technical Summary

Technical Problem

The existing business process management system has opacity in determining the approval path, which makes it impossible for users to predict the approval path and approval personnel in advance, which is low in intelligence, low efficiency, high cost and poor user experience.

Method used

By simulated user approval process based on the workflow engine, key variables in the data submitted by the user are passed to the approval node, simulated approval to determine the critical path, and generate the approval process.

Benefits of technology

It has achieved early prediction of the direction of the approval process and relevant approval personnel, improved the intelligence and efficiency of approval, reduced costs, and improved user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119648148A_ABST
    Figure CN119648148A_ABST
Patent Text Reader

Abstract

The invention provides an approval process generation method, an approval method, an approval device, equipment and a medium, and the method comprises the steps: simulating a user approval process based on a workflow engine, and starting the approval process; transmitting a key variable in the data submitted by the user to each examination and approval node in the examination and approval process, so that each examination and approval node performs simulation examination and approval according to the key variable to obtain an examination and approval key path; and under the condition that the current approval node is the last approval node, generating an approval process based on the critical path.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of Internet technology and can be used in the field of business process management technology. More specifically, it relates to a method for generating an approval process, an approval method, a device, equipment and a medium. Background Art

[0002] BPM (Business Process Management) is an enterprise management method that aims to optimize, automate and continuously improve the business processes within an enterprise. BPM emphasizes the end-to-end management of the entire business process, from process design, modeling, execution, monitoring to optimization, in order to improve efficiency, reduce costs, increase customer satisfaction and enhance market competitiveness.

[0003] The determination of the approval path often depends on the variables and conditional judgments during the process operation, and these variables and conditions are usually unknown before the process is actually run. The direction of the subsequent process and the specific person for the next approval can only be determined after the approval of the previous node is completed. For complex processes, the approval process is not transparent, and users cannot predict the approval path and the approver in advance. Therefore, the existing business process management has the problems of low intelligence, low efficiency, high cost, and poor user experience. Summary of the invention

[0004] A first aspect of an embodiment of the present disclosure provides a method for generating an approval process, including: simulating a user approval process based on a workflow engine to start the approval process; passing key variables in the data submitted by the user to each approval node in the approval process, so that each approval node simulates the approval according to the key variables to obtain a key path for the approval; and generating the approval process based on the key path when the current approval node is the last approval node.

[0005] According to an embodiment of the present disclosure, starting an approval process includes: calling a first internal interface of a workflow engine based on a key variable to start the approval process corresponding to the key variable.

[0006] According to an embodiment of the present disclosure, an approval node performs approval according to key variables to obtain a key path for approval, including: calling a second internal interface of a workflow engine based on key variables to determine an approval user and approval opinion of a current approval node; setting the approval user and approval opinion to intermediate variables for approval; and obtaining a key path for approval when the current approval node is the last approval node.

[0007] According to an embodiment of the present disclosure, it also includes: when the current approval node is the last approval node, the current approval node is jumped to the first approval node for the user to perform actual approval.

[0008] According to an embodiment of the present disclosure, it also includes: generating different approval processes based on different key variables; and storing the approval processes.

[0009] A second aspect of an embodiment of the present disclosure provides a business process approval method, including: calling an approval process acquisition interface to acquire a pre-stored approval process, the approval process being generated based on the above-mentioned generation method; sending the approval process to a user so that the user can approve the business process based on the approval process.

[0010] A third aspect of an embodiment of the present disclosure provides a device for generating an approval process, including: a simulation module, which is used to simulate a user approval process based on a workflow engine and start the approval process; a determination module, which is used to pass key variables in the data submitted by the user to each approval node in the approval process, so that each approval node simulates the approval according to the key variables and determines the key path of the approval; a generation module, which is used to generate the approval process based on the key path when the current approval node is the last approval node.

[0011] The fourth aspect of the embodiment of the present disclosure provides an approval device for a business process, including: an acquisition module, used to call an approval process acquisition interface to obtain a pre-stored approval process, the approval process generated by the above-mentioned generation device; a sending module, used to send the approval process to a user, so that the user can approve the business process based on the approval process.

[0012] A fifth aspect of the embodiments of the present disclosure provides an electronic device, characterized in that it includes: one or more processors; a memory for storing one or more programs;

[0013] When one or more programs are executed by one or more processors, the one or more processors implement the above method.

[0014] A sixth aspect of an embodiment of the present disclosure provides a computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, enables the processor to implement the above method. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] The above and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:

[0016] Figure 1 A flowchart of a method for generating an approval process according to an embodiment of the present disclosure is schematically shown;

[0017] Figure 2 The following schematically shows a logic block diagram of a method for generating an approval process according to an embodiment of the present disclosure;

[0018] Figure 3A detailed diagram schematically shows a method for generating an approval process according to an embodiment of the present disclosure;

[0019] Figure 4 A flowchart schematically illustrates a method for approving a business process according to an embodiment of the present disclosure;

[0020] Figure 5 The structure block diagram of the device for generating the approval process according to the embodiment of the present disclosure is schematically shown;

[0021] Figure 6 A structural block diagram schematically shows a business process approval device according to an embodiment of the present disclosure; and

[0022] Figure 7 A block diagram of an electronic device suitable for implementing the processing method according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION

[0023] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In addition, in the following description, descriptions of well-known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.

[0024] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.

[0025] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.

[0026] Some block diagrams and / or flow charts are shown in the accompanying drawings. It should be understood that some blocks or combinations thereof in the block diagrams and / or flow charts may be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that these instructions, when executed by the processor, may create a device for implementing the functions / operations described in these block diagrams and / or flow charts.

[0027] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present disclosure. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine different embodiments or examples described in this specification and features of different embodiments or examples, unless they are contradictory.

[0028] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of the present disclosure, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0029] In the technical solution of the present disclosure, the data involved (including but not limited to data used for analysis, stored data, displayed data, etc.) are all information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of the relevant data comply with relevant laws, regulations and standards, take necessary confidentiality measures, do not violate public order and good morals, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0030] Figure 1 The flowchart of the approval process generation method according to the embodiment of the present disclosure is schematically shown.

[0031] like Figure 1 As shown, the method for generating the approval process may include operations S101 to S103. Including:

[0032] In operation S101, the user approval process is simulated based on the workflow engine to start the approval process.

[0033] In operation S102, key variables in the data submitted by the user are transferred to each approval node in the approval process, so that each approval node performs simulated approval according to the key variables to obtain a key path for approval.

[0034] In operation S103, when the current approval node is the last approval node, an approval process is generated based on the critical path.

[0035] The workflow engine can be an open source Activiti workflow engine, whose main function is to extract complex business processes from the business system and define them using a specialized modeling language, thereby achieving automated management of business processes.

[0036] The generation method of the approval process can predict the direction of the approval process and determine the relevant approval personnel in advance by conducting background process approval in advance. When the program calls the relevant method, an approval process is started according to the data submitted by the user; the user is simulated to approve, and the key variables (including but not limited to user parameters, business parameters, system parameters, etc.) are passed to each approval node; each approval node determines the direction of the process based on the key variables passed by the user and records the key path; the system determines whether it has reached the last node, and if it has reached the last node, it jumps back to the first node.

[0037] Based on the generation method of the approval process, the approval process can be simulated in advance based on the workflow engine, and the path of the approval process and the relevant users of the approval can be predicted in advance. In this way, in the subsequent actual approval process, it can be carried out according to the pre-stored approval process, which improves the intelligence and efficiency of the approval, makes the approval more accurate, reduces costs, and improves the user experience.

[0038] On the basis of the above embodiment, starting the approval process may include: calling a first internal interface of the workflow engine based on the key variable to start the approval process corresponding to the key variable.

[0039] On the basis of the above embodiment, the approval node performs approval according to the key variables to obtain the key path of the approval, including: calling the second internal interface of the workflow engine based on the key variables to determine the approval user and approval opinion of the current approval node; setting the approval user and approval opinion to the intermediate variables for approval; and obtaining the key path of the approval when the current approval node is the last approval node.

[0040] Figure 2 The following schematically shows a logic block diagram of a method for generating an approval process according to an embodiment of the present disclosure. Figure 3 The specific details of the approval process generation method according to the embodiment of the present disclosure are schematically shown.

[0041] like Figure 2 and Figure 3 As shown, for example, the process of generating an approval process may include:

[0042] According to the key variables passed by the user (such as process id: contract, department: branch, contract type: income contract, contract amount, submitter: Zhang San), the specific process id to be started (such as contractApply) is obtained, and the Activiti internal interface is called according to the id to start the corresponding process. If the process fails to start, the program ends and returns an error message; if the process starts successfully, subsequent operations are performed.

[0043] By calling the Activiti internal interface, the current person to be approved is obtained (the current person to be approved is determined to be Zhang San according to the key variables passed by the user), and the person to be approved and the approval opinion (such as the approver is Zhang San, and the approval opinion is to initialize automatic approval) are set to the intermediate variables for approval.

[0044] Determine whether it is the last node. If it is not the last node, repeat the steps

[0045] By calling the Activiti internal interface, the current person to be approved is obtained (the current person to be approved is determined to be the general manager of the branch company: Li Si according to the key variables passed by the user), and the person to be approved and the approval opinion (such as the approver is Li Si, and the approval opinion is to initialize automatic approval) are set to the intermediate variable for approval; the loop operation is carried out, and the subsequent approvers are determined according to the key variables passed by the user, namely, the department general manager: Wang Wu, the company business manager: Zhao Liu, the legal manager: Li Yi, the director of the general office: Zhou Qi, the company deputy general manager: Wang Er, the deputy general manager in charge of business: Li Ba, and the company general manager: Wang Jiu; the current approval node is the last one, and the subsequent operations are carried out.

[0046] Jump the current node to be approved to the first node for the user to perform actual approval later.

[0047] On the basis of the above embodiment, different approval processes are generated based on different key variables; and the approval processes are stored.

[0048] The approval process can be stored in a database or in a storage chip, which can be a portable computer disk, hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above. The storage unit can also use a double data rate synchronous dynamic random access memory chip (DDR), such as DDR3, DDR4, DDR5, etc., or a low power double data rate memory chip (LPDDR), such as LPDDR3, LPDDR4, LPDDR5, etc.

[0049] Based on the above-mentioned method for generating an approval process, an embodiment of the present disclosure also provides a method for approving a business process.

[0050] Figure 4 The flowchart schematically shows a method for approving a business process according to an embodiment of the present disclosure.

[0051] like Figure 4 As shown, the approval method of the business process may include operations S401 to S402.

[0052] In operation S401, an approval process acquisition interface is called to acquire a pre-stored approval process, where the approval process is generated based on the aforementioned generation method.

[0053] In operation S402, the approval process is sent to the user, so that the user can approve the business process based on the approval process.

[0054] For example, the process of business process approval can be:

[0055] Get the approval process stored in the above records (such as submitter: Zhang San, branch general manager: Li Si, department general manager: Wang Wu, company business manager: Zhao Liu, legal manager: Li Yi, general office director: Zhou Qi, company deputy general manager: Wang Er, deputy general manager in charge of business: Li Ba, company general manager: Wang Jiu. Depending on the parameters passed in by the user, the final generated approval process will also be different) and record it in the database.

[0056] Returns information indicating successful submission of the process.

[0057] Call the approval process acquisition interface and return the data to the user (such as submitter (Zhang San) → branch general manager (Li Si) → department general manager (Wang Wu) → company business manager (Zhao Liu) → legal manager (Li Yi) general office director (Zhou Qi) → company deputy general manager (Wang Er) → deputy general manager in charge of business (Li Ba) → company general manager (Wang Jiu)).

[0058] Based on the returned approval process, users can achieve efficient and accurate business approval.

[0059] Based on the above-mentioned method for generating an approval process, an embodiment of the present disclosure further provides a device for generating an approval process.

[0060] Figure 5 The structural block diagram of the device for generating the approval process according to the embodiment of the present disclosure is schematically shown.

[0061] like Figure 5 As shown, the apparatus 500 for generating the approval process in this embodiment may include a simulation module 510 , a determination module 520 and a generation module 530 .

[0062] The simulation module 510 is used to simulate the user approval process based on the workflow engine and start the approval process.

[0063] The determination module 520 is used to transfer the key variables in the data submitted by the user to each approval node in the approval process, so that each approval node performs simulated approval according to the key variables and determines the key path of approval.

[0064] The generating module 530 is used to generate an approval process based on the critical path when the current approval node is the last approval node.

[0065] Based on the above business process approval method, an embodiment of the present disclosure also provides a business process approval device.

[0066] Figure 6 The structural block diagram of the business process approval device according to the embodiment of the present disclosure is schematically shown.

[0067] like Figure 6 As shown, the business process approval device 600 of this embodiment may include an acquisition module 610 and a sending module 620 .

[0068] The acquisition module 610 is used to call the approval process acquisition interface to acquire the pre-stored approval process, and the approval process is generated based on the above-mentioned generation device.

[0069] The sending module 620 is used to send the approval process to the user, so that the user can perform business process approval based on the approval process.

[0070] According to the embodiments of the present invention, any one or more of the modules, submodules, units, and subunits, or at least part of the functions of any one of them can be implemented in one module. According to the embodiments of the present invention, any one or more of the modules, submodules, units, and subunits can be split into multiple modules for implementation. According to the embodiments of the present invention, any one or more of the modules, submodules, units, and subunits can be at least partially implemented as hardware circuits, such as field programmable gate arrays (FPGAs), programmable logic arrays (PLAs), systems on chips, systems on substrates, systems on packages, application specific integrated circuits (ASICs), or can be implemented by hardware or firmware in any other reasonable way of integrating or packaging circuits, or can be implemented in any one of the three implementation methods of software, hardware, and firmware, or in any appropriate combination of any of them. Alternatively, according to the embodiments of the present invention, one or more of the modules, submodules, units, and subunits can be at least partially implemented as computer program modules, and when the computer program modules are run, the corresponding functions can be performed.

[0071] For example, any multiple of the simulation module 510, the determination module 520, and the generation module 530 can be combined in one module / unit / sub-unit for implementation, or any one of the modules / units / sub-units can be split into multiple modules / units / sub-units. Alternatively, at least part of the functions of one or more of these modules / units / sub-units can be combined with at least part of the functions of other modules / units / sub-units and implemented in one module / unit / sub-unit. According to an embodiment of the present disclosure, at least one of the simulation module 510, the determination module 520, and the generation module 530 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application specific integrated circuit (ASIC), or can be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or implemented in any one of the three implementation methods of software, hardware, and firmware, or in any appropriate combination of any of them. Alternatively, at least one of the simulation module 510 , the determination module 520 , the generation module 530 , and the second determination module 1350 may be at least partially implemented as a computer program module, and when the computer program module is executed, a corresponding function may be performed.

[0072] It should be noted that the device part in the embodiments of the present disclosure corresponds to the method part in the embodiments of the present disclosure, and their specific implementation details are also the same, which will not be repeated here.

[0073] Figure 7 A block diagram of an electronic device suitable for implementing the processing method according to an embodiment of the present disclosure is schematically shown.

[0074] like Figure 7 As shown, the electronic device 700 according to an embodiment of the present disclosure includes a processor 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage part 708 to a random access memory (RAM) 703. The processor 701 may include, for example, a general-purpose microprocessor (such as a CPU), an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (for example, an application-specific integrated circuit (ASIC)), etc. The processor 701 may also include an onboard memory for caching purposes. The processor 701 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.

[0075] In RAM 703, various programs and data required for the operation of electronic device 700 are stored. Processor 701, ROM 702 and RAM 703 are connected to each other via bus 704. Processor 701 performs various operations of the method flow according to the embodiment of the present disclosure by executing the program in ROM 702 and / or RAM 703. It should be noted that the program can also be stored in one or more memories other than ROM 702 and RAM 703. Processor 701 can also perform various operations of the method flow according to the embodiment of the present disclosure by executing the program stored in the one or more memories.

[0076] According to an embodiment of the present disclosure, the electronic device 700 may further include an input / output (I / O) interface 705, which is also connected to the bus 704. The electronic device 700 may further include one or more of the following components connected to the I / O interface 705: an input portion 706 including a keyboard, a mouse, etc.; an output portion 707 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage portion 708 including a hard disk, etc.; and a communication portion 709 including a network interface card such as a LAN card, a modem, etc. The communication portion 709 performs communication processing via a network such as the Internet. A drive 710 is also connected to the I / O interface 705 as needed. A removable medium 711, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 710 as needed, so that a computer program read therefrom is installed into the storage portion 708 as needed.

[0077] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present disclosure is implemented.

[0078] According to an embodiment of the present disclosure, a computer-readable storage medium may be a non-volatile computer-readable storage medium, for example, may include but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, an apparatus or a device. For example, according to an embodiment of the present disclosure, a computer-readable storage medium may include the ROM 702 and / or RAM 703 described above and / or one or more memories other than ROM 702 and RAM 703.

[0079] The embodiment of the present disclosure also includes a computer program product, which includes a computer program, and the computer program contains program code for executing the method shown in the flowchart. When the computer program product is run in a computer system, the program code is used to enable the computer system to implement the processing method provided by the embodiment of the present disclosure.

[0080] The above functions defined in the system / device of the embodiment of the present disclosure are performed when the computer program is executed by the processor 701. According to the embodiment of the present disclosure, the system, device, module, unit, etc. described above can be implemented by a computer program module.

[0081] In one embodiment, the computer program may rely on tangible storage media such as optical storage devices, magnetic storage devices, etc. In another embodiment, the computer program may also be transmitted and distributed in the form of signals on a network medium, and downloaded and installed through the communication part 709, and / or installed from the removable medium 711. The program code contained in the computer program may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.

[0082] In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 709, and / or installed from the removable medium 711. When the computer program is executed by the processor 701, the above functions defined in the system of the embodiment of the present disclosure are performed. According to the embodiment of the present disclosure, the system, device, means, module, unit, etc. described above can be implemented by a computer program module.

[0083] According to an embodiment of the present disclosure, the program code for executing the computer program provided by the embodiment of the present disclosure can be written in any combination of one or more programming languages. Specifically, these computing programs can be implemented using high-level process and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages ​​include, but are not limited to, Java, C++, python, "C" language or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on the remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, using an Internet service provider to connect through the Internet).

[0084] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0085] It will be appreciated by those skilled in the art that the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways, even if such combinations and / or combinations are not explicitly described in the present disclosure. In particular, the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways without departing from the spirit and teachings of the present disclosure. All of these combinations and / or combinations fall within the scope of the present disclosure.

[0086] The embodiments of the present disclosure are described above. However, these embodiments are only for illustrative purposes and are not intended to limit the scope of the present disclosure. Although the embodiments are described above separately, this does not mean that the measures in the various embodiments cannot be used in combination to advantage. The scope of the present disclosure is defined by the attached claims and their equivalents. Without departing from the scope of the present disclosure, those skilled in the art may make a variety of substitutions and modifications, which should all fall within the scope of the present disclosure.

Claims

1. A method for generating an approval process, characterized in that: include: Simulating the user approval process based on the workflow engine and starting the approval process; Passing key variables in the data submitted by the user to each approval node in the approval process, so that each approval node performs simulated approval according to the key variables to obtain a key path for approval; When the current approval node is the last approval node, an approval process is generated based on the key path.

2. The generation method according to claim 1, characterized in that: The initiating the approval process includes: The first internal interface of the workflow engine is called based on the key variable to start the approval process corresponding to the key variable.

3. The generation method according to claim 1, characterized in that: The approval node performs approval according to the key variables to obtain a key path for approval, including: Based on the key variable, the second internal interface of the workflow engine is called to determine the approval user and approval opinion of the current approval node; The approving user and the approval opinion are set into the intermediate variables for approval; When the current approval node is the last approval node, the critical path of the approval is obtained.

4. The generation method according to any one of claims 1 to 3, characterized in that: Also includes: When the current approval node is the last approval node, the current approval node is jumped to the first approval node for the user to perform actual approval.

5. The generation method according to any one of claims 1 to 3, characterized in that: Also includes: Generate different approval processes based on different key variables; The approval process is stored.

6. A business process approval method, characterized in that: include: Calling an approval process acquisition interface to acquire a pre-stored approval process, wherein the approval process is generated based on the generation method described in any one of claims 1 to 4; The approval process is sent to the user, so that the user can approve the business process based on the approval process.

7. A device for generating an approval process, characterized in that: include: A simulation module, used to simulate the user approval process based on the workflow engine and start the approval process; A determination module, used to transfer key variables in the data submitted by the user to each approval node in the approval process, so that each approval node performs simulated approval according to the key variables to determine the key path of approval; A generation module is used to generate an approval process based on the key path when the current approval node is the last approval node.

8. A business process approval device, characterized in that: include: An acquisition module, used for calling an approval process acquisition interface to acquire a pre-stored approval process, wherein the approval process is generated based on the generation device according to claim 7; The sending module is used to send the approval process to the user, so that the user can perform business process approval based on the approval process.

9. An electronic device, characterized in that: include: one or more processors; a memory for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 6.

10. A computer-readable storage medium, characterized in that: Executable instructions are stored thereon, and when the instructions are executed by a processor, the processor implements the method according to any one of claims 1 to 6.