How the CCBPM workflow engine supports a variety of process patterns

Source: Internet
Author: User

Objective:

There are several theoretical models that support process operations in the BPM domain, some 21, 28, and 32. Each model represents the theory designer researcher's personnel proposition and thought of this model. These patterns, as far as possible, completely cover the process flow rules of real production, work and application. But any field that has its own unexplored process may be a little too early to say if its theory covers all the application needs.

Like the world's sects or philosophers, different gurus and philosophers have different views of the world, different worlds know each other to their own "followers" to promote their own ideas, opinions, but they can also be "harmonious", for the same thing have their own opinions, also have the same knowledge, but also have their own " Theory "is something that can't be explained.

This article describes the 4 major operating modes of the CCBPM process and how it supports a variety of process changes.

CCBPM how to control the operating mode of the process:

CCBPM uses node mode, process properties, and node properties to control process operation rules, and to respond to the needs of various production and management modes in a way that does not change.

The concept of CCBPM is relatively simple and easy to understand, it has 4 major operating modes, namely, linear flow, the same form of the confluence, heterogeneous forms of convergence, parent-child process.

node Type: normal node, shunt node, Confluence node, sub-confluence node, sub-thread node.



node multi-person processing mode: robbery mode, collaboration mode, queue mode, sharing mode.

Some property controls related to parent-child processes, and so on, such as.



Explanation of the 4-ccbpm process mode of operation:

Linear process: at a unified point in time, only one active node, each node in accordance with a certain step, a certain sequence of execution, in a specific node allow jump, allow customization after the process of running the steps, we call such a process is a linear process, also known as the sequential process. About 85% of the processes in a system are those processes.



Free Flow:



Merge with form:CCBPM's power is ccbpm integrated ccform. Processes and forms complement each other, like a locomotive and a compartment, a confluence of forms, a node can have multiple active threads, threads and handlers are 1 to 1 of the relationship, each processing person's content is the same, so we become the same form of the confluence.

Such as:




The confluence of different forms: If you understand the confluence of forms, it is not difficult to understand the concept of this process pattern. Such as:




Parent-Child Process: The parent-child process, which is on a node of a process A, can start another process B, the current process we call the parent process, the process that is initiated becomes a sub-process, if a second process is started on a node of sub-process B, then the B process and the C process is the parent-child process, A and c is the relationship between grandpa and grandson, but CCBPM does not study cross-border relationships, but only studies the relationship between the two processes that are close.

For example: an engineering process, invoking the construction process, and the Dunning process, such as:



Node multi-person processing operation mode:

Detailed document Address: http://jflow.mydoc.io/?v=5404&t=17947

Multi-person to-do work processing mode is also a backlog of processing mode. is when the node that is accepted is more than one person, how to deal with the to-dos?

According to the use of the scene, ccbpm many people under the ordinary node processing mode is divided into the following several.

robbery Mode :

A is sent to B and there are n individuals on the B node that can handle it. This n person can see To do, and when one of them is processed, the rest of the others are gone. This mode of work belongs to the Rob Office, this n person can open at the same time, when one person sends, the other person cannot in send. In layman's words, it is who has robbed the job, who has dealt with it. The Rob mode is a default processing mode.

Collaboration Mode :

A is sent to B and there are n individuals on the B node that can handle it. This n person can be processed, can go to send, there is the last handler to send to the next node up, this n the processing of the individual in order. This pattern is called collaborative mode.

Collaboration mode is often used in forms with audit components, everyone can fill in their comments, express their own views, in the audit component audit each person can write only one data on a node, that is to say only one comment.

Also often used in the circulation of the case, must be read by these people, know to move downward. Unlike CC, CC can run down without looking, but he must handle it to run down.

The usual mode of collaboration is that many people have to click the Send Function button to confirm that they have handled it, confirming that they have agreed or approved it.

Queue mode :

A is sent to B and there are n individuals on the B node that can handle it. This n-person is dealt with in the order in which they are set, and at the same point there must be one person to do it, and no one else can.

Application scenario: A document sent to a department, the department under the N-person can accept (note this is a node), according to the domestic administrative system, this n individuals will arrive from a queue, have the smallest level of staff approval, and so on and so on, go to the end by the last person sent to the next node. These n individuals are the handlers of the node, and the audit steps for these n individuals are determined by their order, so they are executed sequentially when the recipient of that node is set.

Usually such a pattern is also used with the auditing component, and after each person expresses their opinion, it is sent to the next node, and of course this pattern

Sharing mode :

A is sent to B and there are n individuals on the B node that can handle it. CCBPM has a task pool, which everyone needs to get from this task pool.

For a description of the CCBPM task pool:

1, in the process properties and global configuration set the start Task pool state, if a node encountered multi-personal processing, this task is placed in the task pool, only the people involved in the process can be seen.

2, the staff in the processing of the work needs to apply, put in their own agent, one person after the application, the other people can not apply, many people at the same time apply for the first person to apply for first get.

3, after the application, the task pool will not come out of the current work, but into the applicant's to-dos.

4, if the applicant cannot handle the work, he can put the work into the task pool, put into the task pool work can be seen by other n-person.

5, it needs to write to the process log, regardless of the fetch and put.

6, the design of the task pool:

1, the following fields are added in the Process engine control table Wf_generworkflow: Tasksta, enum type, 0 = not enabled, 1 = shared, 2 = requested. todoempsnum, int type, number of handlers, how many people the current node is working on, and if this value is greater than or equal to 2, it makes sense to discuss shared tasks. Todoemps varchar (500) to-do personnel, in the format of the processing personnel number, processing personnel names, such as: Guobaogeng, Guo Baogeng; Fuhui, Fukue;

2, in the list of people in the Process engine control table in Wf_generworkerlist for the Isenable field, is expanded, if equal to -1= task pool is disabled, 0 = Assignment work is masked, 1 = normal. 3, added a functional interface/wf/taskpoolsmaller.aspx secondary function interface is available in the task pool enabled to be used.

4. Add a field to the process properties Isenabletaskpool is the task pool enabled? This field is used to control whether the process enables task pooling.

  SDK Interface for task Pool :

1, get shared tasks: Db_taskpool

2, get my Todo in shared tasks: db_taskpoolofmy

3, retrieving from shared tasks: Node_taskpooltakebackone

4. Put the retrieved shared task into the task pool: Node_taskpoolputone

Overview:A good workflow engine, must be with the business ground gas engine, a useful process engine application on the MIS system, must be the engine combined with the form engine. Processes can manipulate the processing of form data during movement.


If you are interested in ccbpm. Please pay attention to obtain source code:


Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

How the CCBPM workflow engine supports a variety of process patterns

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.