Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to build a flexible OA workflow mechanism?

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

Workflow engine is a very important part of software development. Workflow engine refers to workflow as a part of application system, and provides core solutions such as information transmission route and content level which have decisive effect on each application system according to different roles, division of labor and conditions.

Workflow engine includes node management, flow management, process sample management and other important functions.

To develop an excellent software system, the system interface is the most basic part, the information exchange between databases is the necessary condition, and according to the business requirements to develop a practical program logic, and to a certain extent to ensure its stability, easy maintenance is fundamental. Needless to say, stability is easy to maintain to ensure modularity and structure, so that new business logic can be generated when business processes change, such as changes in decision-making rights and changes in organizational structure, and workflow engines solve this problem. If an application lacks a strong logical layer, it becomes prone to errors, such as misrouting of information, endless loops, and so on.

A simple example, a car, the appearance is very beautiful, but if there is a problem with the engine, it will become a decoration, is bound to bug constantly. The scalability of the application system is like the engine speed of a car. Other people's 100 km acceleration takes only 10 seconds, while yours takes an hour (business process changes require longer program modifications). It is clear which is better or worse. And if the engine is again prone to stall (program logic dead loop), then who will applaud such a car?

service architecture

A service-oriented architecture is a component model that links different functional units of an application through well-defined interfaces and contracts between these services. An interface is defined in a neutral way, independent of the hardware platform, operating system, and programming language in which the service is implemented. Workflow engines enable services built into various such systems to interact in a uniform and common way.

Learn Workflow Engine

Before has been thinking about how to build a flexible OA workflow mechanism, may start a lot of people with domino to do, and later to ASP.NET, it seems that everyone woke up, company bosses, CTO and so on began to clamor for workflow engine to achieve enterprise information approval process. Based on the actual needs of the enterprise, the company has also developed a standard enterprise-level workflow engine (learun) in recent years, and obtained double soft certification, all indicators and customer feedback are good, its basic ideas are as follows:

First of all, define each operation, that is, define the process step, which mainly includes: the interface address of the operation, operation parameters, operation type (initial operation, intermediate operation, etc.). The purpose of defining operations is to select these defined steps when setting relationships and defining processes for each operation.

The second definition of operation parameters, in addition to the interface address, also need to define the operation parameters.

The third is to define relationships between steps. It is to define the predecessor and successor of each operation step in a process.

The fourth is to define the process. The necessary information is the basic information such as the process name and the various operation steps and flow rules that define the process. The basic information of the process goes without saying. The definition of process steps is complex. Setting defines step types (start, middle, end), entry steps, exit steps, notification modes, personnel, roles, and content of sending notifications.

The fifth is related to the definition of step skipping, for example, it needs to be submitted to different steps for approval according to different parameters, which is called process step transition rule setting. The content of the setting needs: original step, target step, transition direction (positive/negative), condition rule (and or when judging parameters). Then set parameters and parameter values and comparison conditions.

The sixth is authorized management. This is relatively simple, to determine whether the submitted person is in an authorized state, so as to carry out authorization processing.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report