Create a group of rules that the bank will use to enforce its policy for loan applications. You will use these rules to send a response to the business process after the LoanLimits rule group is invoked, indicating if an applicant's credit rating is good enough to have the loan approved, or if a loan amount qualifies for automatic approval.
For example, the bank will want to specify that all loan applicants must have a minimum credit rating of 750 to get a loan request approved. This is achieved by creating a rule set with an if-then rule that says "If the applicant has a credit rating below 750, return a response to the invoker indicating that the loan request should be rejected". In this case, the invoker is the CreditCheck activity in mainProcess, and the boolean response that it receives is used in the ScoreEvaluation activity to decide which path in the process to follow.
To implement the LoanLimits business group and its business rules, follow the tasks below.The rule group you will create is a group of rule sets that accept input from operations in the LoanLimitsRuleInterface, and provide responses based on the rules you create.
Create a set of rules for deciding if the applicant is eligible for loan from the bank.
Create a set of rules to decide if the loan request will be automatically approved.