Tutorial Overview

The business process in this scenario is started as a result of receiving a Request for Quote from clients. The business process checks the enterprise's inventory and pricing systems to determine whether the order can be filled. Based on the shipping address provided by the client, the process also determines whether sales tax should be added to the quote. Finally the business process compiles a single quote document from the sales tax, price, and availability data, logs the quote by writing it to your file system, and sends it to the client.

Designing the Request for Quote Business Process

The following sequence summarizes the steps in the request for quote process and describes how the business process is designed:

  1. Receive a Request for Quote from a client.
  2. You design a Client Request node in your business process to handle the receipt of an XML document that contains the customer name, shipping address, and the identity and quantity of the items for which the quote is requested. You design the business process so that it starts when it receives a Request for Quote message from a client.

  3. Evaluate a condition to determine whether sales tax should be included in the quote.
  4. In this case, you design a Decision node to create different paths of execution based on the evaluation of a condition. The Decision node includes, on one path, a call to a Web service that calculates sales tax. Business Processes communicate with other services via controls. You design a Control Send node to communicate with a Web service that calculates the sales tax for your quote.

  5. Process the items sent in the Request for Quote message.
  6. The business process must calculate the price and determine the availability of the items and quantities requested in the incoming XML message. This involves the creation of the following nodes in your business process:

  7. Compile price, availability, and tax information calculated by the business process into a quote document.
  8. Your business process calculates a price quote, availability information, and sales tax rate. You design your business process to use Transformation controls that map the various pieces of data to an XML document that is returned to the client as the quote.

  9. Keep a record of the quote created by the business process.
  10. Your business process uses a File control to write the quote to your file system.

  11. Send a response, containing the quote, to the client.
  12. You design a Client Response node to send a response to the client. The response contains the data calculated by the business process.

Actors in the Tutorial Scenario

The actors in the tutorial scenario are represented in the following figure and described in the text that follows the figure:

image

The actors in the scenario include:

Previous Document Next Document