The world's simplest document review workflow

Source: Internet
Author: User
First, describe it, And then summarize it, and finally design and implement it.

 

Statement:

1. Save the documents to be submitted.

After the operator makes a ticket, he may go to the toilet. He is in a hurry. Just as he writes a ticket on paper, he has not confirmed that the ticket should be sent to the superior leadership for review.

2. Submitted by the operator, indicating that the documents can be reviewed and self-reviewed.

3. The first review personnel should check the documents submitted by the operator and pass the review or fail

4. Review the documents that have been approved in the first step.

...

5. Step n reviewer, view documents approved by the N-1 step, approved, or not

 

If the reviewer passes the last step, the document data takes effect.

1. Create a ticket, save it, And the status is pending

Ii. submit the documents. Wait for the first review. 3. After the documents are submitted, the documents to be reviewed are displayed in the first review.

 

4. After the application is approved, the documents to be reviewed will be displayed in the next review

 

 

5. After the n-1 review is passed, the documents to be reviewed will be displayed in the last review.

 

 

Induction

1. Save. Add the receiptstate field to the document. The default value is null, which is the field to be submitted.

Only one-step review of documents

2. Submit and set receiptstate to 0

3. After the review is passed, set receiptstate to 1.

Review failed, set to 3, review returned, set to 2

Document review method in n steps

2. Submit. Set receiptstate to-1, indicating that you want to wait for the first review.

3. For the first review, set receiptstate to-1, that is,-2, indicating that the review is required in the second step.

4. in step 2, review the receiptstate value with-1, that is,-3, indicating that the review is required in step 3.

...

5. The N-1 step audit, the receiptstate value and then-1, that is,-N, indicates the N step Audit

6. Final Review (Step N). Add the receiptstate value to 1, indicating that

Review failed, set to 3, review returned, set to 2, of course, (can be receiptstate = receiptstate + 1, that is, returned to the rejected)

 

Design and Implementation

1. Save

 

 

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.