I frequently field questions about using business rules for mortgage pricing and approvals, so I’d like to share my top three best practices in this area.
1. How to Include Audit Log Messaging in a Decision Table
You want to deliver a value in response to hitting a cell in a decision table, but you also want to return all the information in the conditions. The key to doing this is using a Decision Table Cell Value Provider. You can create one for each column in the table to return all those results.
Aside from the header for the column you want and the Provider to reflect, you don’t need to fill anything else out.
When building out the result you want to return, you need to reference all the value holders that you’ve created providers for:
2. Formatting the Input into a Table in a Rule Maintenance Application
When you are creating a template and want to format how it looks when editing, you can use any html tags to format the display. One of the most useful tips is to create it all within <table> tags. Here is a mortgage product template example and how this looks in the RMA:
As a result, the Rule Maintenance Center will look like the following:
3. Using Advisor Classes to Simplify Very Complex Structures
The object model used for the input to the demonstration was the MISMO Standard, which, while very in-depth, can be overwhelming. To balance this, I created an Advisor class that has all the key indicators necessary. As the first step in the ruleflow, I called a setup function that goes through the incoming data source and maps it into the more straight-forward Advisor class that is used for the intermediate storage of values.
At this point, the rules are either based on the calculation of values, or the values that are spread across an array of input. At the completion of the project, results are mapped back into the original class.
Here is an example of the start of the mapping function:
These examples will help you as you build your own complex Blaze Advisor projects. If you have any questions or comments, leave them here or join the discussion at the FICO® Blaze Advisor® User Forum.