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.
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: