Search

CN-122022424-A - Business process management method, medium and system based on BPMN model

CN122022424ACN 122022424 ACN122022424 ACN 122022424ACN-122022424-A

Abstract

The invention discloses a business process management method, medium and system based on a BPMN model, wherein the method comprises the steps that a client obtains node event data input by a user, the node event data comprises approval type information, the approval type information comprises consultation approval and/or approval, BPMN XML data is generated based on the node event data and is sent to a server, the server analyzes the BPMN XML data to extract the node event data and store the node event data as process metadata, and when the user performs process approval, the process metadata corresponding to a current node is obtained, and business process flow is transferred to a next node according to the approval type information in the process metadata. The lightweight attribute packaging mode is used for replacing complex structure expansion, so that maintainability of the system can be effectively improved.

Inventors

  • SUN JIAYU
  • ZHANG XINGMING

Assignees

  • 银河电力集团股份有限公司
  • 深圳慧联软通科技有限公司

Dates

Publication Date
20260512
Application Date
20251218

Claims (10)

  1. 1. A business process management method based on a BPMN model is characterized by comprising the following steps: the method comprises the steps that a client obtains node event data input by a user, wherein the node event data comprises approval type information, and the approval type information comprises a consultation approval and/or an approval; Generating BPMN XML data based on the node event data, and sending the BPMN XML data to a server side; the server side analyzes the BPMN XML data to extract the node event data and stores the node event data as flow metadata; When a user performs flow approval, flow metadata corresponding to the current node is obtained, and the business flow is transferred to the next node according to approval type information in the flow metadata.
  2. 2. The BPMN-model-based business process management method of claim 1, wherein the client side obtains node event data input by a user, comprising: the client monitors a flow management model to acquire a node selection instruction input by a user, and acquires corresponding node event object information according to the node selection instruction, wherein the node event object information comprises a node type; Displaying a corresponding attribute panel to a user according to the node type; And acquiring an operation instruction of a user for the attribute panel so as to acquire corresponding node event data according to the operation instruction.
  3. 3. The BPMN model-based business process management method of claim 1, wherein the node event data further comprises a rollback attribute, and further comprises, after obtaining the process metadata corresponding to the current node: judging whether the current node allows rollback or not according to the rollback attribute; If yes, displaying a rollback operation button so as to acquire a rollback instruction input by a user according to the rollback operation button; And if not, hiding the rollback operation button.
  4. 4. The BPMN-model-based business process management method of claim 3, wherein said management method further comprises: And when the server receives a rollback instruction input by a user, the server rolls back the business flow from the current node to the previous node.
  5. 5. The BPMN model-based business process management method of claim 1, wherein forwarding the business process flow to the next node according to approval type information in the process metadata, comprises: If the approval type information corresponding to the current node is the consultation approval, judging whether all approvers corresponding to the current node agree to the approval, and if so, transferring the business flow to the next node; If the approval type information corresponding to the current node is approval or approval, judging whether any one of the approvers corresponding to the current node has approved the approval, and if the judgment result is yes, transferring the business flow to the next node.
  6. 6. A computer readable storage medium, having stored thereon a BPMN model based business process management program, which when executed by a processor implements the BPMN model based business process management method of any of claims 1-5.
  7. 7. A business process management system based on a BPMN model is characterized by comprising a client and a server; The client is used for acquiring node event data input by a user, wherein the node event data comprises approval type information, and the approval type information comprises a consultation approval and/or an approval; The client is also used for generating BPMN XML data based on the node event data and sending the BPMN XML data to the server; The server side is used for analyzing the BPMN XML data to extract the node event data and storing the node event data as flow metadata; The server side is further used for acquiring flow metadata corresponding to the current node when the user performs flow approval, and transferring the business flow to the next node according to approval type information in the flow metadata.
  8. 8. The BPMN-model-based business process management system of claim 7, wherein the client is further configured to monitor a process management model to obtain a node selection instruction input by a user, and obtain corresponding node event object information according to the node selection instruction, wherein the node event object information includes a node type; the client is also used for displaying the corresponding attribute panel to the user according to the node type, and acquiring an operation instruction of the user for the attribute panel so as to acquire the corresponding node event data according to the operation instruction.
  9. 9. The BPMN-model-based business process management system of claim 7, wherein the node event data further comprises a rollback attribute, and wherein the server side is further configured to determine whether the current node allows rollback according to the rollback attribute; If yes, displaying a rollback operation button so as to acquire a rollback instruction input by a user according to the rollback operation button; And if not, hiding the rollback operation button.
  10. 10. The BPMN-model-based business process management system of claim 7, wherein the server side is further configured to receive a user-entered rollback instruction and rollback the business process from the current node to the previous node.

Description

Business process management method, medium and system based on BPMN model Technical Field The invention relates to the technical field of flow management, in particular to a business flow management method, medium and system based on a BPMN model. Background In the related art, in the process of performing business process management, if the process node needs to be expanded, the process node mostly needs to rely on complex bpmn-moddle analysis. That is, when an extension of a flow node is required, existing flow engines need to "instantiate" an XML element as a JavaScript object with type, properties, references, and behavior using bpmn-moddle. By the method, the business process is managed, the data structure is complex, and maintainability is low. Disclosure of Invention The invention aims to solve the technical problem of simplifying the data structure in the business process management process so as to improve the maintainability of the system. In order to solve the technical problems, the invention adopts the following technical scheme: A business process management method based on a BPMN model comprises the following steps that a client obtains node event data input by a user, wherein the node event data comprises approval type information, the approval type information comprises a consultation approval and/or an approval, BPMN XML data is generated based on the node event data and is sent to a server, the server analyzes the BPMN XML data to extract the node event data and store the node event data as process metadata, and when the user performs process approval, the process metadata corresponding to a current node is obtained and business process flow is transferred to a next node according to the approval type information in the process metadata. The method comprises the steps that a client monitors a flow management model to obtain a node selection instruction input by a user, and obtains corresponding node event object information according to the node selection instruction, wherein the node event object information comprises a node type, a corresponding attribute panel is displayed to the user according to the node type, and an operation instruction of the user for the attribute panel is obtained to obtain the corresponding node event data according to the operation instruction. Optionally, the node event data further comprises a rollback attribute, after the flow metadata corresponding to the current node is obtained, the management method further comprises the steps of judging whether the current node allows rollback according to the rollback attribute, displaying a rollback operation button if the current node allows rollback, so that a rollback instruction input by a user can be obtained according to the rollback operation button, and hiding the rollback operation button if the current node allows rollback. Optionally, the management method further comprises that when the server receives a rollback instruction input by a user, the server rolls back the business flow from the current node to the previous node. Optionally, the business process flow is transferred to the next node according to the approval type information in the process metadata, and the business process flow comprises the steps of judging whether all approvers corresponding to the current node agree to approve the approval or not if the approval type information corresponding to the current node is the approval of the consultation, transferring the business process flow to the next node if the judgment result is yes, judging whether any one of the approvers corresponding to the current node agree to the approval or not if the approval type information corresponding to the current node is the approval or approval, and transferring the business process flow to the next node if the judgment result is yes. The other technical scheme provided by the invention is as follows: A computer-readable storage medium having stored thereon a BPMN model-based business process management program that when executed by a processor implements a BPMN model-based business process management method as described above. The invention provides a further technical scheme that: A business process management system based on a BPMN model comprises a client and a server, wherein the client is used for acquiring node event data input by a user, the node event data comprises approval type information, the approval type information comprises consultation approval and/or approval, the client is further used for generating BPMN XML data based on the node event data and sending the BPMN XML data to the server, the server is used for analyzing the BPMN XML data to extract the node event data and store the node event data as process metadata, and the server is further used for acquiring the process metadata corresponding to a current node and transferring a business process flow to a next node according to the approval type information in the process metadata whe