Enterprise Information Development Platform (5) Process Design (1)

Source: Internet
Author: User

During the development of all management software, regardless of the Software size, the coding of business logic will occupy half of the entire development cycle. The success or failure of software products often depends to a large extent.
Among the projects I have done before 2007, the basic business logic isProgramCodeAlthough the configuration method is also introduced, the development progress of the project has not been improved much. When I collect data, a new concept is coming to my eye: workflow. After summing up in the development process, my workflow engine is also stable and the corresponding process designer is developed.
The flow designer draws with pure GDI + and does not implement it in the same way as the Form Designer ). One of my colleagues once asked me why I didn't use the designer method. It is true that the development progress will be much faster, but using GDI + to draw has the following advantages:
1. The performance is higher than that of designer;
2. Good program portability;
3. The drawing logic is separated from the process logic, and the program is easy to understand.


Based on my project experience and workflow standards, there are two types of processes:
1. Single Form Process: All nodes in a single process can only use the same form;
2. multi-form process: All nodes in a process can use different forms.
I introduced the following nodes in the engine:
1. Start: each process starts from the Start Node. It is the starting point of the process. Currently, only one process on the platform allows one Start node;
2. Processing: this node is used to set the processor of the process;
3. Signatures: multiple participants are used to set the process. After the participants respond, they can enter the next node;
4. Sign-up: refer to "sign-up" for setting. The difference is that the handler of the sign-up is designated by the handler of the previous step;
5. Adapter: the adapter allows your workflow system to interact with data of other internal and external application systems of the enterprise. The execution of SQL statements and the execution of stored procedures allow direct database operations, designed for system interaction data that does not have the ability to interact with data;
6. Notification: notify someone by email;
7. Logic and: At this time, each processor must pass the processing before proceeding to the next step;
8. Logic or: If the entry task of the node is canceled when the completion condition is met, if no conditions are set, a handler can proceed to the next step as long as it passes;
9. Public subprocesses: "Public subprocesses" can be called by other processes;
10. Private sub-process: place a process as a node in a mainstream process;
11. Data Verification: Verify the business data processed by the current node;
12. Data Statistics: Collect the business data processed by the current node;
13. Data orientation: transmits the business data processed by the current node to another data table according to the configuration;
14. End: The process ends here.
The connection between two nodes is called a processing chain.

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.