Workflow engine, scheduling method, device, equipment and storage medium
Through the combination of the central workflow engine and the embedded SDK, unified management of workflow processes and business data correlation queries in distributed systems are realized, which solves the problem of isolation of process data and business data in the existing technology and improves the reliability of the system. performance and maintainability.
Patent Information
- Application Number
- CN202110080667.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-01-21
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2041-01-21
AI Technical Summary
Existing workflow engines cannot achieve a unified global workflow view in distributed systems, and processes between components cannot be directly connected, leading to reliability and maintainability problems. Moreover, centralized workflow engines are isolated from business data, making it difficult to perform related queries. .
Design a workflow engine that uses a central workflow engine and an embedded workflow SDK to achieve task information synchronization and status updating through a common application programming interface API. Each business component contains a simple copy of process data to achieve the association between process data and business data. Query.
It realizes the unified management and viewing of business workflow processes in distributed systems, solves the pain points of associated queries between process data and business data, reduces the coupling between workflow engines and business components, and improves the reliability and maintainability of the system. .
Smart Images

Figure CN112712298B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a workflow engine, a scheduling method, an apparatus, a device and a storage medium. Background Art
[0002] The main problem that workflow solves is: to achieve a certain business goal, use computers to automatically transfer documents, information or tasks between multiple participants according to certain predetermined rules. In the implementation of workflow, the workflow engine, as a part of the application system, can provide reusable and flexible process solutions for various business systems, and can determine the flow and jump of processes according to different roles, division of labor and conditions.
[0003] Existing workflow engines generally include embedded workflow engines and centralized workflow engines. In a distributed system, embedded workflow engines cannot present a unified global workflow view. The processes between components cannot be directly connected, and each business system communicates with each other, forming a complex mesh communication structure, which poses risks to reliability and maintainability.
[0004] The centralized workflow engine is deployed independently from the database and isolated from the business component database, so it is difficult to combine workflow data with business data. The centralized workflow engine cannot directly combine business data to perform related queries, and cannot perform various complex sorting and screening of the task sets of the required nodes according to business needs. Summary of the invention
[0005] Based on the problems existing in the above-mentioned prior art, the embodiments of the present invention provide a workflow engine, scheduling method, apparatus, equipment and storage medium, which can realize a global task view, unified orchestration and management of task flows of different components, and no need to define business processes between components separately. It can also solve the pain point of associating queries between process data and business data. The business system can associate process data to realize complex associative queries.
[0006] In the first aspect, an embodiment of the present invention provides a workflow engine, comprising: a central workflow engine, at least one workflow software development kit SDK; each of the workflow SDKs is embedded in a corresponding business component, and each of the workflow SDKs contains a general application program interface API required for workflow flow operations; each of the business components includes a simple copy of process data; the workflow SDK is used to synchronize task information from the central workflow engine to the simple copy of process data included in the business component corresponding to the workflow SDK; the business component is used to execute tasks according to the information of the tasks synchronized in the simple copy of the process included therein; the workflow SDK is also used to synchronize the status of the current task executed by the business component corresponding to the workflow SDK to the central workflow engine.
[0007] Optionally, the simplified copy of the process data included in each of the business components includes information about valid tasks of the business component, without complete definition information and flow conditions of the workflow.
[0008] Optionally, the business component includes a business component application server and a business component database; the workflow SDK corresponding to the business component is embedded in the business component application server; the simplified copy of the process data included in the business component is a new business database table created in the business component database.
[0009] Optionally, the business database table is a WF_TASK table, which only contains information about valid tasks of the business component in which it is located, but does not contain complete definition information and flow conditions of the workflow.
[0010] Optionally, each of the workflow SDKs is a jar package.
[0011] Optionally, the status of the current task includes: completed, failed, and suspended.
[0012] Optionally, there is a one-to-one correspondence between business components and workflow SDKs, and different workflow SDKs correspond to different business components.
[0013] The embodiment of the present invention realizes the unified management and viewing of the business workflow process of the distributed system, and the different processes of each business system can all be dispatched by the central workflow engine. On the basis of the centralized workflow, the use of a small amount of copy data perfectly solves the pain points of process data and business data collection. The workflow engine is basically decoupled from the business data, and there is no need to worry about the complex state changes of the business data.
[0014] In addition, based on the workflow engine provided by the embodiment of the present invention, unified management of different versions of processes of multiple business components can be achieved. Process data of different versions of different business components can coexist and be uniformly handed over to the central process engine to manage task flow.
[0015] In a second aspect, an embodiment of the present invention provides a scheduling method, which is applied to a workflow engine, wherein the workflow engine comprises: a central workflow engine, and at least one workflow software development kit (SDK); each workflow SDK is correspondingly embedded in a business component, and each workflow SDK contains a general application program interface (API) required for workflow flow operation; each business component includes a simplified copy of process data; the method comprises:
[0016] The central workflow engine synchronizes the task information to the simple copy of the process data included in the first business component corresponding to the first workflow SDK through the first workflow SDK; the first workflow SDK is one of the at least one workflow SDK; the central workflow engine receives the status of the current task executed by the first business component from the first workflow SDK.
[0017] Optionally, the simple copy of process data included in each of the business components includes information on valid tasks of the business component, without complete definition information and flow conditions of the workflow; the business component includes a business component application server and a business component database; the workflow SDK corresponding to the business component is embedded in the business component application server; the simple copy of process data included in the business component is a newly created business database table in the business component database.
[0018] Optionally, the business database table is a WF_TASK table, which only contains information about valid tasks of the business component in which it is located, but does not contain complete definition information and flow conditions of the workflow.
[0019] Optionally, each of the workflow SDKs is a jar package.
[0020] Optionally, there is a one-to-one correspondence between business components and workflow SDKs, and different workflow SDKs correspond to different business components.
[0021] In the third aspect, an embodiment of the present invention provides a scheduling device, which is applied to a central workflow engine included in a workflow engine, and the workflow engine also includes at least one workflow software development kit SDK; each of the workflow SDKs is embedded in a corresponding business component, and each of the workflow SDKs contains a general application program interface API required for workflow flow operations; each of the business components includes a simple copy of process data; the device includes: a task synchronization module and a task status update module; the task synchronization module is used to synchronize the task information to the simple copy of process data included in the first business component corresponding to the first workflow SDK through the first workflow SDK; the first workflow SDK is one of the at least one workflow SDK; the task status update module is used to receive the status of the current task executed by the first business component of the first workflow SDK.
[0022] Optionally, the scheduling device is also used to implement other functions implemented by the central workflow engine in the workflow engine described in the first aspect, which will not be described in detail here.
[0023] In a fourth aspect, an embodiment of the present invention provides an electronic device, comprising: a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the storage medium through the bus, and the processor executes the machine-readable instructions to perform the steps of the method described in the second aspect.
[0024] In a fifth aspect, an embodiment of the present invention provides a storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the method described in the second aspect are executed.
[0025] The beneficial effects described in the second to fifth aspects above can be referred to in the first aspect and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0027] Figure 1 A schematic diagram showing the structure of a workflow engine provided by an embodiment of the present invention is shown;
[0028] Figure 2 Another schematic diagram of the structure of the workflow engine provided by the embodiment of the present invention is shown;
[0029] Figure 3 A schematic diagram showing a task execution process provided by an embodiment of the present invention;
[0030] Figure 4 A schematic diagram of a flow chart of a scheduling method provided by an embodiment of the present invention is shown;
[0031] Figure 5 A schematic diagram showing the structure of a scheduling device provided by an embodiment of the present invention is shown;
[0032] Figure 6 A schematic structural diagram of an electronic device provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0033] In order to make the purpose, technical solution and advantages of the embodiment of the present invention clearer, the technical solution in the embodiment of the present invention will be clearly and completely described in conjunction with the drawings in the embodiment of the present invention. It should be understood that the drawings in the present invention only serve the purpose of illustration and description and are not used to limit the scope of protection of the present invention. In addition, it should be understood that the schematic drawings are not drawn in real proportion. The flowcharts used in the present invention illustrate the operations implemented according to some embodiments of the present invention. It should be understood that the operations of the flowchart can be implemented out of sequence, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, under the guidance of the content of the present invention, those skilled in the art can add one or more other operations to the flowchart, or remove one or more operations from the flowchart.
[0034] In addition, the embodiments described in the present invention are only some embodiments of the present invention, rather than all embodiments. The components of the embodiments of the present invention generally described and shown in the drawings herein can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present invention.
[0035] It should be noted that the term "comprising" will be used in the embodiments of the present invention to indicate the existence of the features declared thereafter, but does not exclude the addition of other features. It should also be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. In the description of the present invention, it should also be noted that the terms "first", "second", "third", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0036] The concept of workflow originated from the field of production organization and office automation. It is a concept proposed for fixed-procedure activities in daily work. Generally speaking, it means breaking down work into defined tasks or roles, executing these tasks and monitoring them according to certain rules and processes, so as to achieve the purpose of improving work efficiency, better controlling processes, enhancing customer services, and effectively managing business processes.
[0037] The main problem that workflow solves is: to achieve a certain business goal, use computers to automatically transfer documents, information or tasks between multiple participants according to certain predetermined rules. In the implementation of workflow, the workflow engine, as a part of the application system, can provide reusable and flexible process solutions for each business system, and can determine the flow and jump of the process according to different roles, division of labor and conditions. For example, the workflow engine can include important functions such as process node management, flow direction management, and process sample management.
[0038] Existing workflow engines generally include embedded workflow engines and centralized workflow engines.
[0039] Among them, the embedded workflow engine refers to the workflow engine main program and the application system program packaged together for deployment. The database tables required by the workflow engine and the business data share a database, which is mostly used for single applications. In a distributed system, the embedded workflow engine cannot present a unified global workflow view. The processes between components cannot be directly connected, and the various business systems communicate with each other in pairs, forming a complex mesh communication structure, which poses risks to reliability and maintainability.
[0040] A centralized workflow engine refers to a workflow engine program that is independently deployed from a database and provides services to the outside world as an independent component. Each business component is uniformly connected to the workflow engine and calls the workflow engine through network interaction. This solution can integrate the task process data of each business component and connect the workflows of each component in a unified manner. Since the centralized workflow engine is independently deployed from the database and isolated from the business component database, it is difficult to combine workflow data with business data. The centralized workflow engine cannot directly combine business data for associated queries, and cannot perform various complex sorting and screening of the task sets of the required nodes according to business needs. Usually, the business system needs to push a certain amount of data to the workflow engine, and the workflow engine uses a copy of the data combined with the information of the process task to perform associated queries, but this will face the problem of timeliness of business data synchronization. Since business data changes in real time, it is necessary to embed points in multiple places in the business process to synchronize data to the workflow engine, which will cause a high degree of coupling between the workflow engine and the business component, greatly increasing the workload of demand analysis and development.
[0041] Against this background technology, an embodiment of the present invention provides a workflow engine, which is a centralized workflow engine based on process data synchronization, can realize a global task view, unified orchestration and management of task flows of different components, and no separate definition of business processes between components is required. There is no need to customize a dedicated interface for cross-component process jumps at runtime. There is no difference between the program writing method and the process flow within the component. The complexity of task flow between components is shielded, making cross-component tasks fully transparent to the business system.
[0042] In addition, the workflow engine provided by the embodiment of the present invention can also solve the pain point of associating query between process data and business data. The business system can associate process data to realize complex associative query. In principle, the process engine does not save business data, which decouples the process engine from the business system.
[0043] Figure 1 A schematic diagram of the structure of a workflow engine provided by an embodiment of the present invention is shown.
[0044] like Figure 1 As shown, the workflow engine includes: a central workflow engine and n workflow software development kits (SDKs), where n is an integer greater than or equal to 1. Each of the n workflow SDKs is embedded in a corresponding business component, and each workflow SDK contains a general application programming interface (API) required for workflow flow operations, and different workflow SDKs correspond to different business components.
[0045] That is, if there are n business components, there are n workflow SDKs, and there is a one-to-one correspondence between business components and workflow SDKs. It can be understood that different business components belong to different business systems.
[0046] Please continue to refer to Figure 1 As shown, in the embodiment of the present invention, each business component can include a simple copy of process data. When the workflow engine provided by the embodiment of the present invention is in use, different processes of various business systems can all be dispatched by the central workflow engine, and the central workflow engine can dispatch the corresponding business components to execute tasks through the workflow SDK.
[0047] Taking the example of the central workflow engine scheduling the first business component to execute the first task, the central workflow engine can write the information of the first task into the simple copy of the process data of the first business component through the first workflow SDK. In other words, the first workflow SDK can synchronize the data of the first task from the central workflow engine to the simple copy of the process data of the first business component. Then, the first business component can execute the first task according to the information of the first task synchronized in the simple copy of the process.
[0048] It should be understood that, in this example, the first business component may be any business component related to the business system corresponding to the first task; and the first workflow SDK is a workflow SDK embedded in the first business component.
[0049] In the embodiment of the present invention, the first workflow SDK can also synchronize the status of the current task (such as the first task) executed by the first business component to the central workflow engine. Optionally, the status of the current task includes: completed, failed, and suspended.
[0050] For example, after completing the first task, the first business component may call the first workflow SDK corresponding to the first business component to notify the central workflow engine that the first task is completed.
[0051] Optionally, for each business component, the simplified copy of the process data includes information about valid tasks of the business component, without complete definition information and flow conditions of the workflow.
[0052] Figure 2 Another structural schematic diagram of a workflow engine provided by an embodiment of the present invention is shown.
[0053] like Figure 2 As shown, in the embodiment of the present invention, the business component may include a business component application server and a business component database. The workflow SDK corresponding to the business component may be embedded in the business component application server. The central workflow engine may be composed of a process engine and a process engine database.
[0054] The implementation of the simplified copy of process data included in the business component can be to create a new business database table in the business component database as the simplified copy of process data. For example, the business database table can be the WF_TASK table. That is, the WF_TASK table only contains the information of the valid tasks of the current business component (the business component where the WF_TASK table is located), without the complete definition information and flow conditions of the workflow.
[0055] Exemplarily, the WF_TASK table is as follows.
[0056] WF_TASK table
[0057] Column Name meaning ID Physical primary key REV Optimistic Locking RASK_ID Task ID TASK_KEY Task Type ID BUSINESS_KEY Business association number ASSIGNEE Executor STATUS Task Status PROC_INST_ID Process instance ID PROC_DEF_ID Process definition ID CREATE_TIME Creation time MODIFY_TIME Modification time MODIFY_BY Modified by
[0058] When the process engine generates a new task, it can send the new task information to the business component application server. After the business component application server receives the new task information, the corresponding workflow SDK can write the new task information into the WF_TASK table in the business component database and change the status of the current task to synchronize with the process engine.
[0059] In the embodiment of the present invention, when querying data, each business component work pool does not need to interact with the central workflow engine, and can directly use the data in the WF_TASK table to associate with the business data for query, and can perform complex sorting and paging without restriction.
[0060] Optionally, when the process engine generates a new task and sends the new task information to the business component application server, it can send it through the message middleware to notify the workflow SDK to synchronize the information of the new task. Similarly, the workflow SDK can synchronize the process data (such as task status) of the business component to the central workflow engine through the message middleware. Through the message mechanism, the process data of the business component can be synchronized with the central workflow engine in quasi-real time.
[0061] Optionally, if the message middleware cannot guarantee 100% reliability, high-frequency scheduled batches can also be used for retries.
[0062] Optionally, if it is a cross-component process jump scenario, only the new task information is synchronized to ensure that the data copy of the corresponding task is created, and the workflow SDK is not responsible for updating the task status. The synchronization of the task status is initiated by the workflow SDK when the task status and process flow are updated.
[0063] For example, Figure 3 FIG. 1 is a schematic diagram showing a task execution process provided by an embodiment of the present invention. Figure 3 As shown, in a complete flow operation, the workflow engine can first trigger the workflow SDK to synchronize task information (data) to the WF_TASK table according to the method described in the above embodiment, and then the business component executes the task. After the task is completed, the workflow engine can first determine whether it has reached the end of the process. If so, the process ends. If not, the flow operation continues.
[0064] It can be seen that in the embodiment of the present invention, since the workflow SDK is implanted with business components (or business systems) as part of the program, the workflow SDK can read and write business databases while docking with the central workflow engine, without the need to embed a complete workflow engine.
[0065] Optionally, in the embodiment of the present invention, the workflow SDK corresponding to the business component may be a jar package, that is, the embodiment of the present invention may implant a lightweight workflow SDK into the business component.
[0066] In summary, the embodiments of the present invention realize the unified management and viewing of the business workflow process of the distributed system, and the different processes of each business system can all be dispatched by the central workflow engine. On the basis of the centralized workflow, the use of a small amount of copy data perfectly solves the pain points of process data and business data collection. The workflow engine is basically decoupled from the business data, and there is no need to worry about the complex state changes of the business data.
[0067] In addition, based on the workflow engine provided by the embodiment of the present invention, unified management of different versions of processes of multiple business components can be achieved. Process data of different versions of different business components can coexist and be uniformly handed over to the central process engine to manage task flow.
[0068] Based on the workflow engine described in the foregoing embodiment, an embodiment of the present invention further provides a scheduling method. Figure 4 A schematic diagram of the flow chart of the scheduling method provided by an embodiment of the present invention is shown, Figure 4 As shown, the method includes:
[0069] S401. The central workflow engine synchronizes the task information to the simplified copy of the process data included in the first business component corresponding to the first workflow SDK through the first workflow SDK.
[0070] The first workflow SDK is one of the at least one workflow SDK.
[0071] S402: The central workflow engine receives the status of the current task executed by the first business component from the first workflow SDK.
[0072] Optionally, the simple copy of process data included in each business component includes information on valid tasks of the business component, but without complete definition information and flow conditions of the workflow; the business component includes a business component application server and a business component database; the workflow SDK corresponding to the business component is embedded in the business component application server; the simple copy of process data included in the business component is a newly created business database table in the business component database.
[0073] Optionally, each workflow SDK is a jar package.
[0074] Based on the scheduling method described in the above embodiment, the embodiment of the present invention further provides a scheduling device, which can be used to implement the scheduling method described in the above embodiment. Figure 5 A schematic diagram of the structure of a scheduling device provided by an embodiment of the present invention is shown.
[0075] like Figure 5 As shown, the scheduling device may at least include: a task synchronization module 501 and a task status update module 502. The task synchronization module 501 may be used to synchronize the task information to the simple copy of the process data included in the first business component corresponding to the first workflow SDK through the first workflow SDK. The first workflow SDK is one of the at least one workflow SDK. The task status update module 502 may be used to receive the status of the current task executed by the first business component of the first workflow SDK.
[0076] The above device can be integrated into a server, a computer and other equipment, and the present invention is not limited here. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the scheduling device can refer to the corresponding process of the scheduling method described in the above method embodiment, and will not be repeated in the present invention.
[0077] It should be understood that the device embodiments described above are merely illustrative, and the devices and methods disclosed in the embodiments of the present invention may also be implemented in other ways. For example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation. For example, multiple modules or components may be combined or integrated into another system, or some features may be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be through some communication interfaces, indirect coupling or communication connection of devices or modules, which may be electrical, mechanical or other forms. In addition, the functional units in the various embodiments of the present invention may be integrated into a processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0078] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for the processor to implement all or part of the steps of the method described in each embodiment of the present invention when executed.
[0079] That is, those skilled in the art should understand that the embodiments of the present invention may be implemented in the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware.
[0080] Based on this, an embodiment of the present invention further provides a program product, which may be a storage medium such as a USB flash drive, a mobile hard disk, a ROM, a RAM, a magnetic disk, or an optical disk, and a computer program may be stored on the storage medium, and the computer program is executed by a processor to perform the steps of the scheduling method described in the aforementioned method embodiment. The specific implementation method and technical effect are similar and will not be repeated here.
[0081] Optionally, an embodiment of the present invention further provides an electronic device, which may be a server, a computer or the like. Figure 6 A schematic structural diagram of an electronic device provided by an embodiment of the present invention is shown.
[0082] like Figure 6As shown, the electronic device may include: a processor 601, a storage medium 602 and a bus 603, the storage medium 602 stores machine-readable instructions executable by the processor 601, when the electronic device is running, the processor 601 communicates with the storage medium 602 via the bus 603, and the processor 601 executes the machine-readable instructions to execute the steps of the scheduling method described in the above embodiment. The specific implementation method and technical effect are similar and will not be repeated here.
[0083] For ease of description, only one processor is described in the above electronic device. However, it should be noted that in some embodiments, the electronic device in the present invention may also include multiple processors, so the steps performed by one processor described in the present invention may also be performed jointly or individually by multiple processors.
[0084] The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art who is familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A scheduling method, characterized in that: The method is applied to a workflow engine, which includes: a central workflow engine and at least one workflow software development kit (SDK); each workflow SDK is correspondingly embedded in a business component, and each workflow SDK contains a general application program interface (API) required for workflow flow operations; each business component includes a simple copy of process data, and each simple copy of process data included in the business component includes information on valid tasks of the business component, but does not have complete definition information and flow conditions of the workflow; The business component includes a business component application server and a business component database, and the workflow SDK corresponding to the business component is embedded in the business component application server; the simplified copy of the process data included in the business component is a new business database table created in the business component database; The method comprises: The central workflow engine synchronizes the task information to the simplified copy of the process data included in the first business component corresponding to the first workflow SDK through the first workflow SDK; the first workflow SDK is one of the at least one workflow SDK; The central workflow engine receives the status of the current task executed by the first business component from the first workflow SDK.
2. The method according to claim 1, characterized in that The business database table is a WF_TASK table, which only contains information about valid tasks of the business component in which it is located, but does not contain complete definition information and flow conditions of the workflow.
3. The method according to claim 1, characterized in that Each of the workflow SDKs is a jar package.
4. The method according to claim 1, characterized in that: There is a one-to-one correspondence between business components and workflow SDKs. Different workflow SDKs correspond to different business components.
5. A scheduling device, characterized in that: The device is applied to a central workflow engine included in a workflow engine, and the workflow engine also includes at least one workflow software development kit SDK; each workflow SDK is correspondingly embedded in a business component, and each workflow SDK contains a universal application program interface API required for workflow flow operation; each business component includes a simple copy of process data, and the simple copy of process data included in each business component includes information on valid tasks of the business component, without complete definition information and flow conditions of the workflow; The business component includes a business component application server and a business component database, and the workflow SDK corresponding to the business component is embedded in the business component application server; The simplified copy of the process data included in the business component is a new business database table created in the business component database; The device comprises: a task synchronization module and a task status update module; The task synchronization module is used to synchronize the task information to the simplified copy of the process data included in the first business component corresponding to the first workflow SDK through the first workflow SDK; the first workflow SDK is one of the at least one workflow SDK; The task status updating module is used to receive the status of the current task executed by the first business component from the first workflow SDK.
6. An electronic device, characterized in that: include: A processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the storage medium communicate via the bus, and the processor executes the machine-readable instructions to perform the steps of the method described in any one of claims 1 to 4.
7. A storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are executed.
Citation Information
Patent Citations
A common workflow engine system based on domain model
CN109087004A
Sample tracking via sample tracking chains, systems and methods
CN110249350A
