Branch task reconstruction method and device based on Flowable process engine

A technology of process engine and branch, which is applied in the direction of multi-program device, transaction processing, etc., and can solve problems such as unable to rebuild process branch tasks

Active Publication Date: 2020-04-28
TAIKANG LIFE INSURANCE CO LTD
View PDF6 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The embodiment of the present invention provides a branch task reconstruction method based on the Flowable process engine, which is used to solve the existing process engine. Since there is no corresponding relationship between the execution flow of the process branch and the task, it cannot understand the process of the completed task. The technical problem of task reconstruction by branches, the method includes: based on the Flowable process engine, creating a process instance according to the predefined static process data, wherein the static process data at least includes: task node ID and task node name of each task node , the process instance includes: the main execution flow and multiple branch execution flows; record the branch execution flow entity ID and task node name of each branch execution flow corresponding to the main execution flow in the process instance in the main execution flow of the process instance In the corresponding MAP variable; according to the branch execution flow entity ID and task node name of each branch execution flow recorded in the MAP variable, determine the branch execution flow entity ID and the task node ID to be rebuilt; The current task node of the branch execution flow entity corresponding to the branch execution flow entity ID to be rebuilt is configured as the static task node entity corresponding to the task node ID to be rebuilt
[0008] The embodiment of the present invention also provides a branch task reconstruction device based on the Flowable process engine, which is used to solve the existing process engine. Since there is no corresponding relationship between the execution flow of the process branch and the task, it cannot reconstruct the completed tasks. The technical problem of performing task reconstruction on a process branch, the device includes: a process instance creation module 41, which is used to create a process instance based on the Flowable process engine based on predefined static process data, wherein the static process data includes at least: each task The task node ID and the task node name of the node, the process instance includes: the main execution flow and a plurality of branch execution flows; the branch task recording module 42 is used to record the branches of each branch execution flow corresponding to the main execution flow in the flow instance Road execution flow entity ID and task node name are recorded in the MAP variable corresponding to the main execution flow in the process instance; the reconstruction branch task determination module 43 is used for branch execution flow of each branch execution flow recorded in the MAP variable Entity ID and task node name, determine the branch execution flow entity ID and the task node ID to be reconstructed; Branch task reconstruction module 44 is used to execute the branch corresponding to the flow entity ID of the branch to be reconstructed in the process instance The current task node of the execution flow entity, configured as the static task node entity corresponding to the ID of the task node to be rebuilt
[0009] The embodiment of the present invention also provides a computer device, which is used to solve the problem that the existing process engine cannot reconstruct the task of the process branch that has completed the task because there is no corresponding relationship between the execution flow of the process branch and the task. Problem, the computer device includes a memory, a processor, and a computer program stored on the memory and operable on the processor. When the processor executes the computer program, the above-mentioned branch task reconstruction method based on the Flowable process engine is implemented.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Branch task reconstruction method and device based on Flowable process engine
  • Branch task reconstruction method and device based on Flowable process engine
  • Branch task reconstruction method and device based on Flowable process engine

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention more clear, the embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings. Here, the exemplary embodiments and descriptions of the present invention are used to explain the present invention, but not to limit the present invention.

[0019] In the description of this specification, the words "comprising", "comprising", "having", "containing" and so on are all open terms, meaning including but not limited to. A description referring to the terms "one embodiment," "a particular embodiment," "some embodiments," "for example," etc., means that a particular feature, structure, or characteristic described in connection with the embodiment or example is included in at least one of the present application. Examples or examples. In this specification, schematic representations of the above terms do not ne...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a branch task reconstruction method and device based on a Flowable process engine, and the method comprises the steps: building a process instance based on the Flowable processengine according to predefined static process data; recording a branch execution flow entity ID and a task node name of each branch execution flow corresponding to a main execution flow in the flow instance in an MAP variable corresponding to the main execution flow in the flow instance; determining a to-be-reconstructed branch execution flow entity ID and a to-be-reconstructed task node ID according to the branch execution flow entity ID and the task node name of each branch execution flow recorded in the MAP variable; and configuring a current task node of the branch execution flow entity corresponding to the to-be-reconstructed branch execution flow entity ID in the flow instance as a static task node entity corresponding to the to-be-reconstructed task node ID. According to the method, the branch execution flow is associated with the task, and the purpose of task reconstruction of any one or more branches can be achieved.

Description

technical field [0001] The invention relates to the technical field of computer software, in particular to a branch task reconstruction method and device based on a Flowable process engine. Background technique [0002] This section is intended to provide a background or context to embodiments of the invention that are recited in the claims. The descriptions herein are not admitted to be prior art by inclusion in this section. [0003] With the rapid development of computers and the continuous improvement of software technology, more and more work depends on computer software application systems (for example, various business systems such as office automation systems, approval systems, and financial systems) to achieve. There are various types of information systems in enterprises. Traditional information systems integrate process engines into various business systems, making business system development complex and business changes frequent. Jumping between systems will aff...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/46
CPCG06F9/466
Inventor 弥佳成
Owner TAIKANG LIFE INSURANCE CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products