OpenRules Platform

Relational Database Integration

Rule DB – Quick Start

Use the ready-to-run projects in the standard OpenRules installation to understand DataSQL, execute a model, and begin adapting it to your database.

Included samples

Begin with working database-connected models.

Rule DB is included in the standard OpenRules installation. Find its examples in openrules.samples/DB. We recommend analyzing these models first:

Your own model

Copy an example and replace its business logic.

To create a database-connected decision model, copy the Evaluate Orders folder and rename it for your problem—for example, MyDBModel. In pom.xml, replace <artifactId>EvaluateOrders</artifactId> with <artifactId>MyDBModel</artifactId>.

First set up the database. Then run test.bat to generate and execute the model, and replace the sample tables in rules/DecisionModel.xlsx with your own logic.

Try Rule DB

Build a decision model that works directly with your data.

The free evaluation includes Rule DB and ready-to-run database examples.