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:
- Create a rule group component and assign it the interface
AutoApprovalInterface.
- Rename the rule group component to AutoApprovalRules.
- Create a human task component and assign the ManualApprovalInterface
to it.
- Rename the human task component to ManualApprover.
- Create a connection between LoanApprovalProcess and AutoApprovalRules.
- Create a connection between LoanApprovalProcess and ManualApprover.
The assembly editor canvas should be the same as the following
screen capture: