The previous essay introduced the request for leave and reimbursement of two different business forms of the process processing, one is a single table information, a detail of the master-slave table information, the latter contains the processing of conditional processes, in the process of approval, there is generally a process of processing is a sign of the operation, The sign-off process is approved by the approver at the same time in several approval steps. This essay describes the process of counter-sign processing in a workflow.
1, the definition of the process of signing
A sign-off means creating one or more sub-processes for the relevant person to approve, waiting for all the people to complete the process and then return to the main process, and then decide whether to continue the flow to the next process step, the general application form of the main process is as follows.
The sign-up process set here is one of the steps, and once the sign-off process is signed, multiple sub-processes are built for approval, as shown below.
In the steps that will be issued, designate the person who is involved in the approval of the specific process, and the process will flow to different people for the relevant processing of the to-do item.
After I have defined the sign-off in the workflow, it is reviewed by the sign-in sponsor (check the results), decides whether to enter the next process, and decides how to process the application form during the review process.
In the process definition, we create a sign-off process step, we take the leave list as an example, to join our request for leave needs to be signed by each leader, and then continue the following department approval, general manager approval steps, as shown below.
The process steps to increase the sign-off are as follows.
When you are finished, you can see the sign-off step in the list of process steps, as shown below.
2, the process of counter-signing
After knowing the process of the sign-off and completing the above sign-off definition, we create a request for leave, which is used to initiate a sign-off process and to introduce the step-by-sign instructions.
Complete the leave slip and submit it to the relevant handler, who can view the application form in the to-do list, as shown in the following screen.
Then he will initiate a "sign-up" processing operation, the relevant voting rights sent to each leader for the sign-off process.
After the issue is issued, each person involved in the signing process will deal with the counter-signed opinion in the "to do", as shown below.
After each person to be approved is processed, it is returned to the sign-up initiator to decide whether to enter the next process, as shown below.
We look at the relevant process log and see that the process steps have been completed and other steps need to be processed.
In this way, if the process is complete, the rest is the processing of the other steps, according to the normal approval processing.
WinForm Development Framework Workflow series articles:
Simple workflow design of WinForm development framework
Table Design analysis of Workflow module in WinForm development framework
Business Form development of workflow module in WinForm development framework
Review and approval of workflow module in WinForm development framework
Approval and signing of workflow modules in WinForm Development Framework (2)
Approval and signing of workflow modules in WinForm Development Framework (2)