ActiveBPEL® Designer User’s Guide
Tutorial Part 1: Starting a New Process covered creating a new project and a new BPEL file.
By completing Part 2 of the tutorial, you will be able to:
At the end of this tutorial part, you will understand the loan approval process we will build.
What is the Loan Approval Process?
The loan approval process starts by receiving a customer request for a loan amount. If the request is for less than $10,000, the risk assessment Web service is invoked to assess whether the customer is a low or high risk. If the customer is low risk, the request is approved. Otherwise, the request is sent to the approval service for review. If the amount is for $10,000 or more, the request is always sent to the approver for review. The customer can receive feedback from the assessor or approver.
A top-down design would begin by adding activities to the Process editor, without adding any valid attributes to them. A top-down design would look similar to this:

This part of the tutorial familiarizes you with the Process Editor, demonstrating features you can use to create a top-down design. We will not create a complete top-down design.
Step 1: Create a Receive activity
A BPEL process begins by receiving an input message. This means a top-down design would start with either a Receive or a Pick activity, since they are structured to receive data from a business partner’s Web service.
The activity is labeled with Receive.
ReceiveOrder. Do not use spaces in
the name.
or
ReceiveOrder.
The following example shows what your activity should look like.

Step 2: Working with Layout Features in the Process Editor
You can use several features in the Process Editor to optimize the display of your process. We will complete a short exercise to demonstrate the layout features.

Step 3: Save the File and Review BPEL Validation Messages
Take a moment to save your file. You will notice a change to your Receive activity icon. Also, some errors have been added to the Problems view, as shown.

These “errors” are added to the Problems view by default when you save your file. They are messages pertaining to the validation of BPEL code generated for your process. You can see the BPEL XML code in the Source view of the Process Editor.
The errors listed in Problems view will automatically disappear as we complete a valid BPEL process in the tutorial.
Continue to Tutorial Part 3: Working with Orchestration Interfaces.
Copyright (c) 2004-2008 Active Endpoints, Inc.