Font Size: a A A

Research On Activiti5 Workflow Optimization And Its Application

Posted on:2021-04-19Degree:MasterType:Thesis
Country:ChinaCandidate:Y S ChenFull Text:PDF
GTID:2518306503499374Subject:Computer technology
Abstract/Summary:PDF Full Text Request
With the rapid development of enterprise office informatization,various information systems are gradually popularized to improve the efficiency of business operation.As the middleware technology of process management,workflow technology plays an important role in the field of office software.However,in the case of more and more changes occurs in actual business processes,the prefabricated functions of workflow products are often unable to meet the needs of enterprises,such as the dynamic jump and fallback of tasks.In view of this situation,after investigating the field of workflow technology,the open source software Activiti5 is used as the basis to transform the framework so that it can freely choose the next approval task,so as to increase the flexibility of the framework.The purpose of this research is to add the function of freely assigning approval tasks to Activiti5 framework.The research method is to refer to the official documents on the program architecture,and put forward three improvement schemes.The first scheme uses the method of modifying information in database directly to bypass the process of parsing process files.The second scheme defines the dynamic command,recombines the Mybatis execution unit into a new command and uses the jump logic of the command to override the original logic,so as to achieve the effect of dynamic allocation of approval tasks.Scheme 3covers part of the data in the process definition file and temporarily constructs the connection swimlane between user tasks to bypasses the constraints of the static process file,and it can meet the requirements of freely selecting the next approval node.All schemes can realize dynamic workflow theoretically.Scheme one must be bound with specific database products and need to parse process files manually,and there are too many disadvantages therefore the implementation of this scheme is not discussed.Scheme 2 and scheme 3 need to analyze the data model,design mode,program architecture,built-in cache,monitoring mechanism and other aspects of the framework to explore the operation mechanism of the framework to complete the specific update work.Then taking the actual business of an asset management system as an example,the transformation step is discussed.Finally,test cases are designed for comparative analysis.The results are as follows:1.The workflow chart of the original business application does not need to be redrawn and deployed.2.The number of changes to the original framework is 400 to 500 lines of code in scheme 2 and scheme 3,which retains the execution speed of the original framework by more than 99%.3.Scheme 2 and scheme 3 are not limited to specific database products as long as the original framework supports.4.Scheme 3 has the problem of threads insecurity in concurrent scenarios.Through the analysis of the research results come to the conclusion that Activiti5 can be transformed into a workflow framework with dynamic processing ability by using custom jump command.In application,Activiti5 system can be used as an alternative optimization scheme to improve the efficiency of enterprise office work,which has a certain practical value.
Keywords/Search Tags:workflow technology, Activiti5, dynamic, improve framework
PDF Full Text Request
Related items