Download

Click on the button below, sign in with your email, and after email confirmation, you will be able to download a free evaluation version valid for 30 days:If/when you commit to use OpenRules DM as your operational decision manager, you may purchase an OpenRules Subscription.

What To Do After Download

So, you downloaded one zip-file “OpenRulesDecisionManager_8.0.2.zip”. When you unzip it to your hard drive, you will have the OpenRules workspace “openrules.dm.models” that contains everything you need to learn how OpenRules decision models are organized, how to build and execute them, and how to develop your own  operational decision models. You may explore it with the standard File Manager or any IDE such as Eclipse.

Pre-Requisites

Configuration Project “openrules.config”

The folder “openrules.config” includes:

    • All Java libraries (jar-files in the sub-folder “lib”) needed to build and run decision models
    • Standard OpenRules templates in the files “DecisionTemplates.xls” and “DecisionTableExecuteTemplates.xls”
    • Standard batch files “projectBuild.bat” and “projectRun.bat” (and their corresponding sh-files for Linux and Mac).

Decision Model Projects

There are many folders with various decision models, such as “Hello“, “VacationDays“, “UpSellRules“, which are ready to be built, executed, and analyzed. Typically a decision model such as “VacationDays” contains:

    • The rules repository in the folder “rules” with several Excel files:
        • DecisionModel.xls with the Environment table that refers to all Excel files that compose this decision model
        • Glossary.xls with the table Glossary that describes all goals, sub-goals, and other decision variables distributed between different business concepts
        • Rules.xls with decision tables that implement business logic for all goals and sub-goals
        • Test.xls with tables that describe your test cases.

A rules repository can have different organizations from everything in one file like in the sample “UpSellRules” or a library of decision models like in the sample “LoanOrigination”.

    • Three batch files:
        • settings.bat with different model-specific parameter
        • build.bat to build the decision model
        • run.bat to run the decision model.

Build and Run Decision Models

You can build a decision model by a simple double-click on the file “build.bat“.  If you make any changes in your Excel tables, you need to repeat the build. If the DM finds any errors, it will display them using the business terms pointing to the corresponding places in your Excel files.

After the successful build, you may simply double-click on “run.bat” to test your model against test-cases described in the file “Test.xls”.  When you execute the decision model, along with a user-friendly execution protocol, the DM produces the same explanation reports in the HTML format as the classic OpenRules BRDMS does – see the generated folder “report”.

Some decision models (e.g. HelloJava) use data instances created not in Excel but using the existing Java classes. In such cases you can build the model using the provided batch file “buildJava.bat” and execute it using “runJava.bat”.