Tuesday, January 27, 2009

How to add a simple decision to the process diagram

Websphere Business Modeler v6.1 Contact us... Quickstart tutorial 3-How to add a simple decision to the process diagram

How to add a simple decision to the process diagram

Introduction

A simple decision has one incoming branch with one input and two outgoing branches with one output each. When the process is running, the process flow takes one outgoing branch if a certain condition is true, and the other branch if the same condition is false. The decision selects the outcome based on the incoming data.

In your loan application process, you either accept or reject each application. To accurately reflect your real-world policy, your process diagram must show exclusive choice. To achieve this "either/or" scenario, you must add a simple decision to the process.

How to add a simple decision to the process diagram

To add a simple decision to the process, ensure that the Loan Application (As Is) process is open in the Process editor, and then complete the following steps below:

Steps

  1. In the palette, click the Simple Decision icon. You might have to open the Gateways drawer in the palette to see the Simple Decision icon.
  2. Move your cursor to the right of the Review Loan Application task and click to add the decision to the process diagram.
  3. Type the following name for the decision: Approve Loan?
  4. If necessary, arrange the decision and tasks so that there is some space between them. Remember that you can resize elements, and to move the elements in the diagram, you simply click the element and drag it to the appropriate spot. Your diagram should look similar to the following image on the right column.

You have now ensured that your Loan Application (As Is) process can split the process flow and either accept or reject the application, just as in your actual company. Now you are ready to connect the elements in your process.

Note that the decision provides a Yes or No response to a question, in this case "Is this loan application approved?" By default, the two possible responses—Yes and No—are assigned an equivalent probability of 50%. For this tutorial, you will leave the probability for each possible response as 50%, but you can adjust those decision percentages if needed. For a detailed description of decisions and probabilities, see Decisions in the documentation.

Because there are only two approval options, approve or reject, the decision can now send data to the appropriate path in the flow. If the answer to the question is Yes, the data is sent to the Disburse Funds task. If the answer is No, the data is sent to the Reject Application and Notify Customer task.

No comments: