< Previous | Next >

Creating components to handle the approval

Now that you have a foundation for the process, you will create the components that the process will invoke to check the loan amount for automatic approval and handle the manual approval of the application.

If the loan amount is less than, or equal to, a specified value ($50 000 in our case) the bank wants to approve it automatically. Therefore, you will add a rule group to the assembly diagram. If the loan amount is more than $50 000, then the bank will want to review the application before making a decision. You will implement the bank's review using a human task.

To add the components to the assembly diagram, complete the following steps:

  1. Create a rule group component and assign it the interface AutoApprovalInterface.
  2. Rename the rule group component to AutoApprovalRules.
  3. Create a human task component and assign the ManualApprovalInterface to it.
  4. Rename the human task component to ManualApprover.
  5. Create a connection between LoanApprovalProcess and AutoApprovalRules.
  6. Create a connection between LoanApprovalProcess and ManualApprover.
The assembly editor canvas should be the same as the following screen capture:
Assembly editor with components connected

Feedback

(C) Copyright IBM Corporation 2005, 2008. All Rights Reserved.

< Previous | Next >