Using Data Values to Verify a Business Policy
To verify that the business follows a stated policy, define a rule statement that applies an expression to key data columns.
For example, you might configure a rule statement that validates mortgage loan applications for a mortgage broker. The mortgage broker refuses any loan application that requires the applicant to repay more than twenty five percent of their salary each month. The rule statement tests the monthly repayment amount against an expression that calculates the salary percentage.
1. Select a rule set in a rule specification.
2. In the rule set properties, click Rule Logic.
3. Click Add Rule Statement.
4. Select an input for the rule statement.
5. Select an operator to validate the results of the condition analysis.
- - To identify input values that are greater than twenty five percent of another value, select the following operator:
IS GREATER THAN
6. Select the type of condition to apply to the input.
- - To define an expression to test the input data, select the following condition type:
function
7. Configure the condition to apply an expression to the input data. The expression uses an input that represents the monthly salary of the loan applicant.
- - Open the Define Condition dialog box, and select Input.
- - Select Float/Integer as the data type.
- - Select the input column that represents the monthly salary data.
- - Add an empty value under the current value.
- - Select the plus symbol to indicate that the expression adds divides the first value by the second value
- - Click User Defined Value, and enter the number four.
- - Click OK.
8. Select the type of action to apply to the data that satisfies the condition logic in both rule statements.
- - To return a string value, select the following action type:
string value
9. Enter the value that the action returns. For example, enter DENY_LOAN.
10. Save the rule specification.