Camuda process engine access method

By embedding the front-end of the Camunda process engine in the business system and building corresponding process configuration modules, the complexity and high cost problems of integrating the Camunda process engine in traditional systems are solved, and fast and efficient access and management are achieved, reducing maintenance needs and improving flexibility.

CN119718411APending Publication Date: 2025-03-28CHINA ELECTRONICS CLOUD DIGITAL INTELLIGENCE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411897524.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-23
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

Integrating the Camunda process engine in traditional systems requires a large number of modifications to the system code, which increases development costs and introduces new risks, and makes it difficult to achieve fast and efficient access and management processes.

Method used

By nesting the Camunda process engine front-end to the business system front-end, building the process configuration module front-end and back-end, providing the process configuration interface and interface, configuring the process and connecting the Camunda process engine to the business process, realizing task processing and data synchronization.

Benefits of technology

It significantly reduces the integration workload, improves integration efficiency, reduces the maintenance needs of the basic data of the Camunda process engine, realizes rapid configuration and adjustment of processes, meets changing business needs, and provides a free, efficient, flexible and secure solution.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119718411A_ABST
    Figure CN119718411A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of process engine access, and provides a Camuda process engine access method, which comprises the following steps of: nesting a Camuda process engine front end to a service system front end, and creating and providing a process configuration interface; a data interface required by flow configuration points to the back end of a service system, and flow configuration basic data is accessed; a flow configuration interface is adopted to configure a circulation flow of the Camuda flow engine according to the flow configuration basic data; the method comprises the following steps of: connecting a back end of a service system with a back end of a Camuda process engine, accessing the Camuda process engine into a service process, and performing task processing by adopting the Camuda process engine accessed into the service process; obtaining process role data of task processing from the back end of the business system through the back end of the Camuda process engine; and writing the data of the current task into the back end of the service system through the back end of the Camuda process engine, and querying the process and the task by the front end of the service system according to the written data of the task. According to the method and the device, the Camuda process engine can be efficiently and flexibly accessed to the service system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of process engine access, and in particular to a Camunda process engine access method. Background Art

[0002] Camunda is a free, open source workflow and business process management (BPM) platform that allows organizations to design, deploy, and manage business processes through a graphical interface. Camunda is implemented in Java and can be seamlessly integrated with modern development frameworks such as Spring Boot. In an enterprise environment, contract management systems, for example, often need to be combined with workflow engines to automate processes such as contract creation, approval, and signing. However, integrating Camunda into traditional systems requires a lot of modifications to the system code, writing basic data such as organizational structure, personnel, and approval roles, and embedding process interfaces, which not only increases development costs, but also introduces new risks.

[0003] Therefore, how to provide a standard and fast method to efficiently and quickly access the Camunda process engine while reducing the access workload and realize process automation management and optimization has become a technical problem that needs to be solved urgently. Summary of the invention

[0004] In view of this, in order to overcome the deficiencies of the prior art, the present application aims to provide a Camunda process engine access method.

[0005] The Camunda process engine access method provided in this application includes: Step S1: By embedding the Camunda process engine front end into the business system front end, a process configuration module front end is constructed, and a process configuration interface is created and provided through the constructed process configuration module front end; Step S2: By pointing the data interface required for process configuration to the back end of the business system, a process configuration module back end is constructed, and the process configuration basic data is accessed through the constructed process configuration module back end; Step S3: Use the process configuration interface to configure the flow process of the Camunda process engine according to the process configuration basic data; Step S4: by connecting the business system backend with the Camunda process engine backend, the Camunda process engine is connected to the business process, and the Camunda process engine connected to the business process is used to perform task processing; Step S5: Acquire the process role data of task processing from the business system backend through the Camunda process engine backend; Step S6: The Camunda process engine backend writes the data of the current task to the business system backend, and the business system frontend queries the process and tasks based on the written task data.

[0006] Optionally, in the Camunda process engine access method of the present application, in step S1, the process configuration interface includes process query, process drawing, process role configuration and process personnel configuration interface.

[0007] Optionally, in the Camunda process engine access method of the present application, in step S2, the process configuration basic data includes process personnel data and process role data.

[0008] Optionally, in the Camunda process engine access method of the present application, in step S3, the flow process of the Camunda process engine is used for task processing of the business system.

[0009] Optionally, in the Camunda process engine access method of the present application, in step S4, the Camunda process engine is accessed to the business process by connecting the business system backend with the Camunda process engine backend, including: setting a standard API interface for the Camunda process engine backend, and connecting the Camunda process engine backend to the business system backend through the set standard API interface.

[0010] Optionally, in the Camunda process engine access method of the present application, in step S4, the Camunda process engine accessed to the business process is used to perform task processing, including: using the Camunda process engine accessed to the business process to perform task processing, task completion, task rejection and task transfer.

[0011] Optionally, in the Camunda process engine access method of the present application, step S5 includes: sending a process role data query request for task processing to the business system backend through the Camunda process engine backend, and after receiving the process role data query request, the business system backend sends the corresponding process role data to the Camunda process engine backend.

[0012] Optionally, in the Camunda process engine access method of the present application, step S5 includes: by modifying the process role configuration method of the task processing of the Camunda process engine backend, the Camunda process engine backend is pointed to the interface of the business system backend, and the business system backend sends the process role data to the Camunda process engine backend through the interface.

[0013] Optionally, in the Camunda process engine access method of the present application, step S6 includes: monitoring task processing events through the Camunda process engine backend, writing the current task data to the business system backend after each task processing step, and the business system queries the process and tasks based on the written task data.

[0014] Optionally, in the Camunda process engine access method of the present application, the data of the current task includes the processor of the current task and the flow event data.

[0015] The Camunda process engine access method of the present application has the following beneficial technical effects: 1. The integration of process configuration components is realized through forwarding and interface nesting, which significantly reduces the integration workload and improves the integration efficiency; 2. Focusing on the business system, there is no need to maintain various basic data of the Camunda process engine. You only need to use the process configured by the Camunda process engine for circulation; 3. Through process configuration, you can easily add or adjust the existing functions of the process configuration to meet the ever-changing business needs, and it has the characteristics of easy scalability.

[0016] This application Camunda process engine access method provides a free, efficient, flexible and secure solution, which is suitable for various business system access scenarios. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0018] Figure 1 A flowchart of a method for accessing a Camunda process engine according to an embodiment of the present application; Figure 2 This is an example diagram of accessing the Camunda process engine according to the method of an embodiment of the present application; Figure 3 A schematic diagram of the structure of the device provided in this application. DETAILED DESCRIPTION

[0019] The embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0020] It should be noted that the following embodiments and features in the embodiments may be combined with each other in the absence of conflict; and, based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in the field without making any creative work are within the scope of protection of the present disclosure.

[0021] It should be noted that various aspects of the embodiments within the scope of the appended claims are described below. It should be apparent that the aspects described herein may be embodied in a wide variety of forms, and any specific structure and / or function described herein is merely illustrative. Based on the present disclosure, it should be understood by those skilled in the art that an aspect described herein may be implemented independently of any other aspect, and two or more of these aspects may be combined in various ways. For example, any number of aspects described herein may be used to implement the device and / or practice the method. In addition, other structures and / or functionalities other than one or more of the aspects described herein may be used to implement this device and / or practice this method.

[0022] The embodiment of the present application provides a Camunda process engine access method, which is illustrated by the following embodiment.

[0023] Figure 1 FIG. 1 is a flowchart of a method for accessing a Camunda process engine according to an embodiment of the present application. Figure 1 As shown, a Camunda process engine access method of an embodiment of the present application includes the following steps: Step S1: By embedding the Camunda process engine front end into the business system front end, a process configuration module front end is constructed, and a process configuration interface is created and provided through the constructed process configuration module front end.

[0024] As an optional example, in this embodiment, the process configuration interface includes process query, process drawing, process role configuration and process personnel configuration interfaces.

[0025] Step S2: By pointing the data interface required for process configuration to the business system backend, a process configuration module backend is constructed, and process configuration basic data is accessed through the constructed process configuration module backend.

[0026] As an optional example, in this embodiment, the process configuration basic data includes process personnel data and process role data.

[0027] Step S3: Use the process configuration interface to configure the flow process of the Camunda process engine according to the process configuration basic data.

[0028] In this embodiment, the flow process of the Camunda process engine is used for task processing of the business system.

[0029] Step S4: By connecting the business system backend with the Camunda process engine backend, the Camunda process engine is connected to the business process, and the Camunda process engine connected to the business process is used to perform task processing.

[0030] As an optional example, in this embodiment, a standard API interface is set for the Camunda process engine backend, and the Camunda process engine backend is connected to the business system backend through the set standard API interface. The Camunda process engine connected to the business process is used to perform task processing, task completion, task rejection and task transfer.

[0031] Step S5: Acquire the process role data of task processing from the business system backend through the Camunda process engine backend.

[0032] As an optional example, in this embodiment, a process role data query request for task processing is sent to the business system backend through the Camunda process engine backend, and after receiving the process role data query request, the business system backend sends the corresponding process role data to the Camunda process engine backend. For example, in this embodiment, by modifying the process role configuration method for task processing of the Camunda process engine backend, the Camunda process engine backend is pointed to the interface of the business system backend, and the business system backend sends the process role data to the Camunda process engine backend through the interface.

[0033] Step S6: The Camunda process engine backend writes the data of the current task to the business system backend, and the business system frontend queries the process and tasks based on the written task data.

[0034] As an optional example, this embodiment monitors the events of task processing through the Camunda process engine backend, writes the data of the current task to the business system backend after each step of task processing, and the business system queries the process and task based on the written task data. The data of the current task includes the processor of the current task and the flow event data.

[0035] The following is a further detailed description of the Camunda process engine access method of this embodiment in a specific scenario. The embodiment of this application aims to provide a standard and fast method to quickly and securely access the Camunda process engine on the basis of improving efficiency and reducing workload, thereby realizing automated management and optimization of contract processes. Figure 2 This is an example diagram of accessing the Camunda process engine according to the method of an embodiment of the present application.

[0036] like Figure 2As shown, in this scenario example, the Camunda process engine and business system are started separately.

[0037] This embodiment first integrates the assembly process configuration module, so that the assembled process configuration module has the functions of configuring processes, configuring approval roles, modifying approval nodes, viewing historical process versions, etc. By integrating the assembly process configuration module, this embodiment can simplify the writing of basic data for docking with the backend of the Camunda process engine, and also avoids the need to develop a process configuration interface for the business system, and integrates the Camunda process engine and the business system into a new module.

[0038] Specifically, this embodiment embeds the interface of the Camunda process engine for drawing flowcharts into the business system through the front-end forwarding method, which becomes the front-end of the process configuration module. The main interfaces include: process query, process drawing, process role configuration, process personnel configuration and other key interfaces of the process configuration module. This embodiment also configures the basic data interface required by the process to point to the back-end interface of the business system, which becomes the back-end of the process configuration module. The main back-end interfaces include interfaces such as personnel query and role query.

[0039] The process engine flow diagram configured by the process configuration module of this embodiment is used to provide basic data for subsequent process processing. Specifically, the business system backend completes the docking of process business, such as task completion, task rejection, task transfer, etc., through the standard API interface provided by the Camunda process engine. In actual applications, a role method for rewriting the task processing of the Camunda process engine backend is provided to point to the corresponding interface provided by the business system backend. The business system backend returns the account number of the person who needs to approve, so that the process task can flow normally. In addition, in this embodiment, the Camunda process engine backend monitors the events of task processing, and writes the data of the current task to the business system backend after each step of task processing, including the current processor, flow time, etc., so that the business system can query its own database to complete the query of processes and tasks.

[0040] The process configuration module of the method in this embodiment provides process processing configuration, which can minimize the transformation and development of the Camunda process engine. The business system can normally process its own business database to realize the flow of the process without cross-database query of process data, thereby realizing data decoupling between systems.

[0041] The Camunda process engine access method according to the embodiment of the present application has the following beneficial technical effects: 1. The integration of process configuration components is realized through forwarding and interface nesting, which significantly reduces the integration workload and improves the integration efficiency; 2. Focusing on the business system, there is no need to maintain various basic data of the Camunda process engine. You only need to use the process configured by the Camunda process engine for circulation; 3. Through process configuration, you can easily add or adjust the existing functions of the process configuration to meet the ever-changing business needs, and it has the characteristics of easy scalability.

[0042] This application Camunda process engine access method provides a free, efficient, flexible and secure solution, which is suitable for various business system access scenarios.

[0043] like Figure 3 As shown, the present application also provides a device, including a processor 310, a communication interface 320, a memory 330 for storing a processor executable computer program, and a communication bus 340. The processor 310, the communication interface 320, and the memory 330 communicate with each other through the communication bus 340. The processor 310 implements the above-mentioned Camunda process engine access method by running the executable computer program.

[0044] Among them, the computer program in the memory 330 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0045] The system embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, i.e., they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected based on actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art may understand and implement it without creative effort.

[0046] Through the description of the above implementation modes, those skilled in the art can clearly understand that each implementation mode can be implemented by means of software plus a necessary general hardware platform, or of course by hardware. Based on such an understanding, the above technical solution can essentially or in other words be embodied in the form of a software product that contributes to the prior art. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods of each embodiment or some parts of the embodiment.

[0047] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. A Camunda process engine access method, characterized in that: The method comprises: Step S1: By embedding the Camunda process engine front end into the business system front end, a process configuration module front end is constructed, and a process configuration interface is created and provided through the constructed process configuration module front end; Step S2: By pointing the data interface required for process configuration to the back end of the business system, a process configuration module back end is constructed, and the process configuration basic data is accessed through the constructed process configuration module back end; Step S3: Use the process configuration interface to configure the flow process of the Camunda process engine according to the process configuration basic data; Step S4: by connecting the business system backend with the Camunda process engine backend, the Camunda process engine is connected to the business process, and the Camunda process engine connected to the business process is used to perform task processing; Step S5: Acquire the process role data of task processing from the business system backend through the Camunda process engine backend; Step S6: The Camunda process engine backend writes the data of the current task to the business system backend, and the business system frontend queries the process and tasks based on the written task data.

2. The Camunda process engine access method according to claim 1, characterized in that: In step S1, the process configuration interface includes process query, process drawing, process role configuration and process personnel configuration interface.

3. The Camunda process engine access method according to claim 1, characterized in that: In step S2, the process configuration basic data includes process personnel data and process role data.

4. The Camunda process engine access method according to claim 1, characterized in that: In step S3, the flow process of the Camunda process engine is used for task processing of the business system.

5. The Camunda process engine access method according to claim 1, characterized in that: In step S4, the Camunda process engine is connected to the business process by connecting the business system backend with the Camunda process engine backend, including: setting a standard API interface for the Camunda process engine backend, and connecting the Camunda process engine backend to the business system backend through the set standard API interface.

6. The Camunda process engine access method according to claim 1, characterized in that: In step S4, the Camunda process engine connected to the business process is used to perform task processing, including: using the Camunda process engine connected to the business process to perform task processing, task completion, task rejection, and task transfer.

7. The Camunda process engine access method according to claim 1, characterized in that: Step S5 includes: sending a process role data query request for task processing to the business system backend through the Camunda process engine backend, and after receiving the process role data query request, the business system backend sends the corresponding process role data to the Camunda process engine backend.

8. The Camunda process engine access method according to claim 7, characterized in that: Step S5 includes: by modifying the process role configuration method of the task processing of the Camunda process engine backend, the Camunda process engine backend is pointed to the interface of the business system backend, and the business system backend sends the process role data to the Camunda process engine backend through the interface.

9. The Camunda process engine access method according to claim 1, characterized in that: Step S6 includes: monitoring the events of task processing through the Camunda process engine backend, writing the data of the current task to the business system backend after each step of task processing, and the business system queries the process and task according to the written task data.

10. The open source process engine Camunda access method according to claim 9, characterized in that: The data of the current task includes the person who handles the current task and the flow event data.