Completing the autoapproval rule set
Complete the autoapproval rule set's definition by following these steps:
Click the
icon beside the
autoapproval
label.
In the
Enter Destination
field, type
checkCredit
.
Click the Enter Destination text figure
.
Click
New Ruleset...
. The
New Rule Set
window opens.
Click
Finish
. The editor opens for
autoapproval
.
Switch to the autoapproval editor.
Click the
Add Action Rule
button
.
Click the Action text figure
.
In the
Action
field, type
response = false
.
Click the
Add If-Then Rule
button
.
Click the Condition text figure
.
In the
Condition
field, type
applicationInformation.loanamount <= 50000
.
Click the Action text figure
.
From the menu, select
File > Save
(or press
Ctrl+S
).
From the menu, select
File > Close
(or press
Ctrl+F4
). The editor closes for
autoapproval
.
Switch to the LoanLimits editor.
From the menu, select
File > Save
(or press
Ctrl+S
).
From the menu, select
File > Close
(or press
Ctrl+F4
). The editor closes for
LoanLimits
.
Switch to the Assembly Diagram: LoanApplicationModule editor.
Parent topic:
Implementing the business rules
Previous topic:
Completing the checkCredit rule set