Process + rights fully upgraded, LeaRun agile development framework, .Net Core release


Workflow engine is an important part of the development of enterprise software development.

The so-called workflow engine, means a workflow as part of the application system, and provide decisive effect on each application system based on roles, different conditions and determine the division of information delivery core routing, content rating and other solutions.

The workflow engine includes a node management process, the flow of important functions of management, process management, and other samples.

http://img3.mukewang.com/5df359490001019919200922.jpg

A good software system development, system interface is the most basic part of the exchange of information between the database is a prerequisite, according to business needs and develop a realistic program logic and ensure its stability to a certain extent, easy to maintain sex is fundamental.

Needless to say stability, ease of maintenance will have to guarantee modular and structured so that changes can occur in business processes, such as new business logic changes produced when changing the decision-making authority, organizational structure and workflow engine to solve is this problem. If the application lacks powerful logic layer, it becomes easy to make mistakes, such as routing error messages, the cycle of death and so on.

http://img1.mukewang.com/5df359540001711319200922.jpg

Services Architecture

Service-oriented architecture is a component model, the application of different functional units linked through well-defined interfaces between services and contracts. UI is defined in a neutral manner, it should be independent of implementation services of hardware platforms, operating systems and programming languages.

Workflow engine makes building services in a variety of such systems, can interact in a uniform and universal way.

http://img1.mukewang.com/5df3595c00017a1e15550839.jpg

Learun workflow engine

Previously have been thinking about how to build a flexible OA workflow mechanism, you may begin to have a lot of people do with domino, and later to ASP.NET time, as if we all wake up, the company owner, CTO and so began to yell to the workflow engine approval process of enterprise information. Based on the actual needs of enterprises, in recent years, the company also developed a standard enterprise-class workflow engine (learun), and received a double soft certification, the indicators are good and reflect the customers, the basic idea is as follows:

First, the definition of each action to do, is to define a process step, the definition of the process steps including: an interface address, operating parameters, the type of operation of the operation (starting operation, intermediate operation, etc.). The purpose of defining the operation is followed by step selection of these operations is defined for each setting operation and the relationship definition process.

Defined parameters of the second operation, with the address of the interface, but also need to define the operating parameters.

The third is to define a relationship between the operation steps. The process is to define a precursor of each operation step, subsequent operation step.

The fourth process is the definition of the necessary information, and transfer the respective operation steps rules and basic information such as name of the process defined in the process. The basic flow of information would not have said. We define the complex process, provided defining step type (start, middle, end), the step of the inlet, outlet step, notification mode, person, role, sending a notification content.

The fifth step involves defining jump circumstances, such as the need to submit for approval to the different steps depending on the arguments, here called the process step transition rule set. Content settings requires: original step, the target step, changes direction (positive / negative), the rule condition (or it is determined by the parameters or). Then set the parameters and parameter values ​​and comparison conditions.

The sixth is authorized to manage. This is relatively simple, and people judged to be submitted is in authorized state, thereby authorization process.

http://img1.mukewang.com/5df359660001681419200922.jpg

Mentioned above is a basic logic, the actual writing process, but also consider the actual situation of each enterprise.

LeaRun framework built-in workflow engine, a collection of customers across the industry comments and suggestions, applicability, stability, ease of development are to meet the daily needs of the enterprise, has been upgraded .Net Core version, the core technical points include:

Dependency injection autofac

Even among the code solution

Asynchronous programming performance, improved data processing system

Middleware technology

Cross-platform development and deployment

Support vessel deployment


Guess you like

Origin blog.51cto.com/14253806/2458579