Thoughts on custom workflows

Source: Internet
Author: User

in enterprises, there are many workflows, leave procedures, and overtime procedures, salary Increase process and so on. In many systems, the workflow design is defined in Program development, but this often cannot meet the changing needs of customers. For example, during design, we define the overtime process, A send a request to the department manager. The manager reviews the request and then gives the answer. This simple process is complete. However, the company suddenly stipulated that all the leave procedures must first go through personnel (for example ). In this way, our original process will not go any further. And so on, making changing workflows more complicated.

The following requirements are of course applicable to workflows:

1.Allows users to customize workflows in any depth

2. tracking process operations at all times. (Because you are concerned about your salary increase request, you are there .)

3. based on requirements, quick Change Process

4. participants can be broadly defined, such as roles, positions, and departments.

With these four requirements, I am a newbie who is deeply troubled. The following are some of my ideas. I hope you can give me some advice.

My thoughts:

1. I first checked, TCP/IP transmission of information packets. The two are similar.

Each node, that is, the participant, can receive, process, and forward messages.

TCP/IPOur process

source request initiation

destination receiver

confirmation number Current Status

data request content

at the same time, we can add the urgency in our messages, must be handled by (like WSDL mustunderstand .

another point here is that the response message of any node is only sent to its direct message source. And TCP/IP the same is true. No relevant materials are found. L

 

 

2. flexible processes:

design a syntax parser to parse the process set by the client.

For example: employee A request salary increase:



Suppose our syntax is as follows:

P: Personnel

D: Department

DM: Department manager

HR: Personnel

M: General Manager

This process can be described as follows:

(P) % DM % _ HR _

 

If, on that day, the requested salary increase must be approved by the General Manager at the end

(P) % DM % _ HR _ % m %

 

In this way, our parser reads the process description language to extract the specific process.

These are some of the initial ideas, certainly not mature, and even fatal errors. You are welcome to discuss them extensively. Thank you very much!

This grammar is parsed fromInterpreterMode.

 

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.