Workflow entry step.3-adding procedural Elements-For-WF4.0

Source: Internet
Author: User
Opening

In the previous article, we briefly explained the introduction of WF, so there are already many experts in the yard, and I have written a lot of applications about workflow, recently, many problems and experiences have been found during the process of integrating the workflow platform. The workflow is not just as simple as approval, but the complexity is obviously not average, after learning the workflow, no matter how you understand and improve the business process, it is very helpful. Because the specific business processes of different enterprise applications are different, as a result, it is impossible to build a general business process model. Just like enterprise management, it is impossible to develop a rigid model. It must be in line with internal conditions of the enterprise.

Knowledge about workflowsArticleAnd there are already a lot of them. Many of the guys in the yard have mentioned the concept of workflow. I dare not say that I have a deep understanding of workflow.

Summary

Workflow is a popular technology recently. In fact, WF originated from the office automation field in the middle of 1970s. Since August 1993, WfMC (Workflow Management Alliance) was established, in 1994, a series of workflow standards were developed. 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 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 alsoI hope you will pay more attention to the content of workflows.

Outline

I. Opening

Ii. Summary

Iii. Control Flow of wf4.0

Control Flow in wf4.0

Previous Article "workflow entry step.2-building a simple WorkFlow-For-WF4.0" We talked about the basic wf4.0 build a simple ConsoleProgram. This section describes the control flow in wf4.0.

Some sincere friends said that the series I wrote is the same as most of the WF series. I may want to explain it here, let me get started first, and then combine the instance

Write an application article. I hope you will continue to support it.

1. Use Variables

A. Drag an ordered activity to control the flow to the design view.

B. Define variables:

C. Variables support inheritance. By default, the variables defined by the external parent activity can be accessed within the sequential control flow.

D. output the result to test the description:

2. If Control Flow

A. Drag an if control flow node to the sequence control flow node.

B. Drag then and Else.

C. Let's run the above situation and view the specific results:

D. Let's modify the Expression Conditions in IF.

E. we modified the above "condition matching condition of condition" condition = "test". At this time, then must be executed. If the value of condition is test.

F. Modify the value of the variable set in the above assign activity to condition = "test ";

G. Run the command again and check the result:

3. While control flow

A. Create an activity:

B. Add the following information:

C. Run the node to view the output information:

D. Let's modify the condition in the while condition or set the condition value to 1 in the activity above the variable setting value:

E. Run the command again to view the output result:

F. Next we will modify this condition. When condition is less than 10, we will execute the output; otherwise, the loop will jump out:

G. Run the command again to view the running result.

Next announcement

This article describes if and while in the "wf4.0" control flow. In the next article, we will continue to explain other usage of the control flow. If you have better comments or suggestions, please also raise:

A lot of content in the control flow is the most commonly used content in our specific business process applications. Therefore, we should first sort out and describe the basic content.

Source code download

More communication

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

Official Website: 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: 18691480181 blog: http://www.cnblogs.com/hegezhou_hot/

2. QQ chat group:

308961614 Network Name: h.o. T

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.