Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 638 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
638
Dung lượng
15,8 MB
Nội dung
[...]... persistence provides the mechanism for releasing processing memory from workflows that are idle from either waiting for events or by logic that dictates that the workflow should go idle • Business processes monitoring provides automation for how information is gathered and stored, about the logic being processed, and for pertinent data being monitored Summary Workflows are great for modeling business processes... called Modeling Projects This is the type of project you will use to building diagrams (see Figure 1-8) Chapter 1 ■ Why Workflows Figure 1-8. Creating a new modeling project 2 Add a new diagram to the project by right-clicking Apress.Example.Diagramming within the Solution Explorer Add a new diagram by clicking Add ➤ New Item Figure 1-9 shows all of the diagrams that can be added to the project Since... and leave the extension as activitydiagram V413HAV 13 Chapter 1 ■ Why Workflows Figure 1-9. Adding a UML Activity Diagram Before you start building the workflow for processing a customer order, let’s walk through the logic of processing a customer’s order First, make sure the product ordered is in stock by checking the inventory • When a customer orders a product, there are two inventories that need... building diagrams in Visual Studio 11 Ultimate 1 12 Open a new instance of VS11 and create a new project by clicking File ➤ New ➤ Project Name the project “Apress.Example” and the solution “Apress.” It is common practice for the solution and project names to be different so the hierarchy from solution to project is easily recognized By default the “Create directory for solution” checkbox is checked,... business process management that helps guide the steps for modeling workflows and focuses on continuously making improvement to processes so they do not become stagnant As developers model business processes with workflows, they come to understand requirements quicker and can thus plan architecture and write code that is efficiently designed to meet or exceed the goals of stakeholders Workflows also provide... processes, and implementing them through software poses unique challenges WF provides a framework (which would otherwise have to be custom built) to address common design goals and characteristics associated with implementing long-running processes WF functionality includes memory management for persisting the current state or snapshot of a process and tracking custom events for the duration of a process... interaction and events within workflows • Messaging: Provides communication functionality for building workflows that are exposed as services and communicate over transport protocols • Runtime: Provides instructions to the WF runtime for how to manage workflow behavior • Primitives: Provides general functionality around execution • Transaction: Provides functionality for allowing activities to execute... each connection to the Merge Node symbol 13 Now that you have a flow for processing a customer’s order when inventory exists, add another Action symbol to the workflow and change its name to “Process Order.” Add another Connector symbol between the Merge Node symbol and Process Order step This logic indicates that it is ok to process the order when the inventory exists The finished workflow should... up into four areas • Business requirements: Goals defined by project sponsors against which the success of the project can be measured • User requirements: Functionality that must be implemented, allowing users to accomplish their objectives • Functional requirements: Detailed representation usually provided by the technical leadership to provide guidance through models and serve as the blueprints for... create a profile or log in; then the customer gets extended functionality for creating an order Creating the order includes processing the order, which also includes processing payment and later even refunding money if a customer wants to return part or all of an order 8 Chapter 1 ■ Why Workflows Jeep Parts Website Customer Login Create Order Process Order . .NET Framework 4. 5, a new version of WF has been released, referred to as WF4 .5. Whether you are familiar with WF or not, this book will help you understand the new features in WF4 .5 and how they. Creating a new modeling project V413HAV CHAPTER 1 ■ WHY WORKFLOWS 14 Before you start building the workflow for processing a customer order, let’s walk through the logic of processing a customer’s. Order Process Order Process Payment Issue Refunds Create Profile Figure 1 -5. Component diagram for a rental service CHAPTER 1 ■ WHY WORKFLOWS 10 Sequence Diagrams Sequence diagrams show how processes