Workflow entry step.7-creating a flowchart WorkFlow-For-WF4.0

Source: Internet
Author: User
Opening

In the previous article, we will talk aboutCodeTo build the workflow flow "workflow entry step.6-building a console application-For-WF4.0", this article we will talk about how to build flowch

Art workflow. This is also the new content added by wf4.0. Let's take a look at it.

Summary

Workflow is a popular technology recently. In fact, WF originated from the office automation field in the mid-S. Since its establishment in, WfMC (Workflow Management Alliance) formulated

Series of workflow standards. More and more scholars are paying attention to the workflow in the 21st century, and the technology is becoming more and more mature. Of course, I also have to keep up with the times, so I also joined the workflow army, hoping

Enough to keep up with our predecessors. Of course, I also hope that interested friends can join the workflow discussion group. Specific Group Number:120661978.

At present, we have made a sequent in the agileeas platform. The content of the interface designer + workflow, of course, the workflow is not very mature yet, and it is not convenient to release it. This article is just a reference, but alsoHope

You pay more attention to the content of workflows.

Outline

I. Opening

Ii. Summary

Iii. wf4.0 ConsoleProgram

Flowchart console Program

Flowchart is a very important component. To build a business flow using flowcharts, let's take a look at how to use flowchart to create a workflow flow to achieve our business goals.

1. Create a console workflow application:

2. Drag a flowchart and a sequence to control the flow to the designer.

3. Double-click "flowchart activity" to view the specific designer interface of the activity as follows:

4. Here we design the specific process as follows:

5. Run and view the results of our design process. The F5 running result is as follows:

So we can see from the above that flowchart is similar to the process of using sequece, And it is okay to support complicated processes of combining multiple activities, next let's take a look at other aspects of more in-depth

Describe and use it.

Flowdeworkflow

1. Drag the process branch to the flowchart process:

2. Set true and false to execute the branch activity.

3. Let's run it and see the specific effect. What is the difference with the previous one? The output result is as follows:

Through the above, we will know how to use flowchart, especially in complicated business processes involving some business approvals or some review workflows, which may need to be customized in a subprocess.

In terms of activities, we can use flowchart to control some processes with branches.

Let's take a look at how we can use flowchart in combination with specific services in some cases.

1. Create a New codeactive node.

2. The code for adding an active node is as follows:

A. Add reference

B. The Code is as follows:

C. Description of the business logic of the execution process

3. Add the following nodes and variables in the flowchart process:

4. Add a writeline activity under a custom node of true to output the value of outvalue and check whether the result meets the expectation.

5. Run and view the running result:

6. Let's take a look at the record ID and name in the database:

In this way, we have completed the simple instructions for using flowchart. If you have any other questions, please contact me in time. For details about the download of the pharmacy system, refer to the following.ArticleAddress:

Free Download of the pharmacy system:

Source code download

More communication

Official blog: http://www.smarteas.net/

Http://www.agilelab.cn/

If you have any questions about using the agileeas. NET development platform, use the following contact methods or communication methods.

1. Telephone-Email:

He gozhou: hegezhou_hot@163.com mobile phone: 18691480181 blog: http://www.cnblogs.com/hegezhou_hot/

2. QQ chat group:

QQ: 308961614 Network Name: h.o. t

Communication Group on the agileeas. NET platform: 120661978 (super group) [New]

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.