Defining variables
Create the variables that will store the data that is exchanged
between the LoanApprovalProcess component and the other components
it communicates with.
The LoanApprovalProcess BPEL process uses the ApplicationInput
and BankResponse variables to interact with the customer.
To define
the variables used in the LoanApprovalProcess implementation, follow
the steps below.
- Under Variables, click the plus sign to add a global variable.
Name the variable AutoApprovalData and select LoanRequestBO as the data type. Click OK. A variable
is added to the Variables list.
- Repeat the above steps for the following variables:
Name |
Data Type |
Purpose (function) |
AutoApprovalResponseData |
boolean |
Holds the response from the bank resulting
from an automatic loan approval. |
ManualApprovalData |
ManualApprovalBO |
Holds the loan application data and instruction
passed to the loan officer. |
- Save the business process.