Self-developed workflow engine

Source: Internet
Author: User

I quit my job and haven't written any articles for a long time. My workflow project is broken, and my team is broken. Now I want to post this set of things. I hope you can give me some advice!

Android is not completed yet, and iOS is not developed yet

Workflow engine design tool I am a client program using WPF and can visually design the process L;

The operation of the entire process is implemented by Asp.net and corresponding interfaces are provided to facilitate mobile calls!

First, let's take a look at the entire project:

1) process design tools, user authentication, obtain a process template that the user can operate on based on the login user, and request the WCF for identity verification;

2) This is a workflow template that obtains permissions for users after verification. (1) it is classified as a process template to facilitate design and actual runtime management. (2) It is a template list, and some basic information, status, name, and other information; double-click to edit it; (3) create a workflow in the upper left corner +;

 

3) create a workflow. By default, the program adds the start and end stages. A workflow must start and end;

Toolbar

(1): Add a general link. A general link can design access permissions, edit permissions, and process actions for this link.

(2): Add a shunting link. What is shunting? That is, one thing requires two or more roles to agree at the same time to enter the next link.

(3) Add a reasonable link. points must be combined. This is used together with the shunting link, because one hill is not a problem, and the boss has only one.

(4) Add a connection line. What is the connection line? There must be a path from building a to Building B, so it cannot fly in the past, even if flying has to have a path. Then this connection line acts as this path, and you can set the conditions to meet your needs before you can enter the next stage. Just like Shenzhen Metro security check, there are dangerous items in your bag. Security comrades will certainly not allow you to take the subway;

(5) delete selected objects: I can delete any object (connection line, link) on the design panel.

(6) HTML template editor. You have to edit the content and format of the process on the web.

(7) Save and edit: Save the entire template structure to the server database;

 

4) create a leave process:

First, I may add the fields used in this process, the types of input controls on the browser, the Data Types in the library, and the default values, whether or not you need to bind information from the dictionary table by default, so you can make full use of it;

5) after doing this, you have to set the application information;

1) Basic information: Set, name, and processing time limit of the basic information. If the time limit is exceeded, do you want to skip this step?

2) personnel settings: Set permissions for roles, departments, and individuals who can access this link.

3) processing action: Which operations, such as submission and recall, are involved in this step (this works with the connection line)

4) information item settings: which fields are visible in this link and can be edited

5) special permissions: not implemented yet

 

Personnel settings:

Processing action

Information item settings:

 

How is the page displayed? The HTML editor is coming;

Complete a template:

 

 

Now that the template is complete, can you run it according to the design? After logging on to the management system, we can see that two non-Super Users who can initiate an application:

Sure enough, it is it. Let's initiate one and see if Yang ran it?

 

Hey, that's right. It's a table I wrote. That's right;

 

After the submission is completed, the next step should be handled by a Super User;

Go in and check

 

 

The simple process is finished;

 

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.