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

Comparison of galloping Workflow engine JFlow and activiti-Summary

2025-03-13 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

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

What they have in common:

1. Embedded workflow engine to reduce cluster complexity.

two。 Strict and flexible process version control

3. Support multiple databases

4. Support multiple process design patterns

5. Open source workflow with high maturity, reliable stability and performance.

Difference:

1. Process definition method:

ACTIVITI: it is done in the way of xml and spelling strings, so the result of process definition is not intuitive and convenient.

JFLOW: has its own process designer and form designer, canvas-based WYSIWYG. Including process operation conditions, direction conditions and so on.

two。 Object-oriented:

ACTIVITI: because of the design style, it is only available to process developers.

JFLOW: for both process developers and business people, process design can be done even if you don't know how to program.

3. Node type:

ACTIVITI: start node, end node, automatic node, task node, fork branch, join federation and other nodes. Through the cooperation of a variety of nodes and the use of events, the process is composed.

Also, the start node must have an outward flow.

JFLOW: ordinary node, shunt node, child thread node, confluence node.

The start node belongs to an ordinary node and can be used as a single-node process with no flow direction.

The end node is defined by CC automatic judgment.

The cycle in CC is judged by the direction condition, and the synchronization and aggregation are determined by the confluence node.

4. Support for complex processes:

ACTIVITI: not suitable for very complex processes, it just provides a rich set of workflow models that allow you to do anything, even if it violates workflow specifications.

JFLOW: through node operation rules, direction conditions, rich events, operation patterns, and form solutions, it fully satisfies the operation of complex processes and is controllable for any situation.

5. Mining of historical data:

ACTIVITI: support for historical data is not very good, for example, subtasks cannot be written to history and so on. Of course, this can also be achieved by modifying the code and BUG.

JFLOW: has the track function, that is, to save the data generated by the operation of a certain process. During the operation of the process, you can view the processing information and process data of the relevant nodes, or after the end of the process.

Form integration

Because activiti is just a process engine, it is incomparable, and there is no comparison here. Only explain the application of form engine and process engine in business system.

The relationship between form engine and process engine

We compare the BPM system to a car, then the control system of the car, like the process engine, such as brake, throttle, clutch and directional lights, is the control system of the car. The car compartment is the form, and the goods are the data.

We study that the control system of the car can not be discussed separately from the pulling of goods.

In the process of running the workflow, his main purpose is to coordinate various departments, personnel and posts to deal with the business streamline.

In the process of movement, the process needs to manipulate the separation and combination of the form data, or need to read the form data to turn the direction and control the process business processing.

The simplest leave process-judge the branch of the process based on the number of days taken by the form

The design direction condition can be easily visualized.

A case of process engine manipulating form engine

For example, in the split-and-merge flow of JFlow, the process is as follows:

The project manager assigned the task to fill in the node:

Each salesperson fills out the data node form:

Data Summary Node (data Summary):

JFlow believes that a process engine and a forms engine is

Support for multiple forms simple and straightforward CCForm

Word documentation support

Support for Excel forms

Form tree support

Personalized JFlow function with Chinese characteristics

If you use a process engine with Chinese characteristics, it is a bit far-fetched, because some rules are also needed abroad, but foreign developers do not want to abstract them.

In China, developers and implementers require high requirements for personalized customization, and together need to be developed based on settings, so this puts forward a higher level of abstract requirements for business rules for the designers of the process engine.

It can't be said that every property setting belongs to Chinese characteristics. Here are a few functions to illustrate why activti is not involved in these functions, because they have different positioning for the development of the process engine.

Process attribute

Process properties are the settings of rules that control the entire process.

Such as document number generation rules

Each process attribute is based on reality and rules.

JFlow provides a wealth of process attribute definition rules, let's develop

Multiple recipient rules

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

Internet Technology

Wechat

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

12
Report