Our customers frequently build not one but multiple decision models for their business domains such as property and casualty insurance, loan origination, medical guidelines, etc. After building several decision models, they already have a quite rich glossary and various decision tables that essentially cover their business domain. So, it gives them a good foundation to build a library of relatively small decision models which can be used to assemble more complex decision models. Sometimes they even add domain-specific decision tables and supporting Java classes.
The general architectural schema of the library is shown above. It includes multiple decision models with some of them being deployed as cloud-based decision microservices. It also includes a special Orchestration Decision Model that describes how to orchestrate other decision services.
The OpenRules release include a workspace “LoanOrigination” that implements a library of decision models for the Loan Origination domain using an example from the DMN Section 11. You may freely download it from here:
Extract (unzip) the downloaded files and you will get the folder “LoanOrigination” on your hard-drive. This folder contains several decision models that implement various goals and sub-goals for the loan origination domain.
First, double-click on LoanOrigination/Common/build.bat because all decision models share the decision model “Common”. Then you may run “build.bat” or “test.bat” for all other included decision models.
There are many small sub-goals and two main goals “BureauStrategy” and “Routing” deployed as external decision services:
This library also demonstrates Rules-Based Service Orchestration with an ability to assemble new decision services by orchestrating existing decision services “Bureau Strategy” and “Routing” into a separate orchestration decision models “Loan Origination Result”. Read more here.