Control mode is the central nervous system of the process, it is responsible for a number of separate combat activities in the combat teams together, and promote the automatic flow of activities, the formation of combat flow. Its importance is self-evident, so to design a good process, you must learn to apply a variety of control patterns.
Before we look at exactly what each pattern is, we first define a unified format, and for the control pattern, it is described in the following uniform format:
Pattern description
When we explore each control pattern, we will describe it in the following unified format.
Prototype example (Feature section)
Give a story fragment of this pattern and show the application scenario of this pattern through a vivid workflow story.
Context (description, motivation)
Give a specific description and motivation for this pattern: why there is this pattern, is to solve what problem.
The nature of the problem
What is the nature of this pattern? What is the nature of the thing to do?
Solutions and technology implementation
The solution and technical implementation of this model are given.
Constraints and possible problems
Constraints and issues that may exist in this pattern. The pattern is not omnipotent, there is no silver bullet in the software, there is no pattern of treating all diseases, and each model may have some constraints and restrictions. What problems can be caused by applying this pattern, and how to solve these problems.
Implementation in the specification
The implementation of this pattern in the relevant specification is given. The current process has three major specifications Xpdl, BPEL, BPMN, we will follow the latest version of each specification XPDL 2.1 (note that the XPDL examples in this chapter are generated by Bizagi Process Modeler 2.1.0.1) and BPMN 2.0 (all of the XML definitions for BPMN 2.0 are generated by the online process modeler provided by Signavio) to describe the implementation of the current schema. For BPEL, we always think that it is not a "process" language, which is essentially a programming language for Web services, so only partial schemas use BPEL descriptions.
Relationships with other patterns
What is the relationship between this pattern and other schemas? Is there a requirement for pairing use? Is there a combination of other patterns to solve complex scenarios?
The serial mode in the approval process of 1.1.1 housing reform
Fig. 3.2 Is the approval process of the lidengkequ housing reform in Jiangnan City. In this process, all the combat activities are sequential, complete an activity to operate the next activity, this is the workflow control mode in the "Serial mode." The serial mode is extremely simple and is not described here in a uniform format.
Fig. 3.2 The approval process of housing reform and purchase lidengkequ
"Concurrent splitting" and "Concurrent convergence" mode in the approval process of 1.1.2 housing reform
1. Concurrent Split mode
Prototype example (Feature section)
Fig. 3.3 "Concurrent splitting" prototype example of the approval process of housing reform house purchase
As shown in Figure 3.3, the complex housing reform process requires two verification positions to be verified, so after the "review" link, the concurrent Division for two activities: "Seizure verification One" and "seizure verification two". In this episode, two verification links work in parallel to improve efficiency, reducing the time of verification by half.