Learn by examples
Start with a decision model that already works.
OpenRules lets business users and subject-matter experts create, test, and maintain operational decision models without programming. Each sample combines a business glossary with decision tables that make the model’s logic visible.
Choose your starting point
Explore the installed sample library.
The openrules.samples workspace organizes complete projects by purpose, so you can begin with the capability closest to your decision.
First decision models
Simple projects designed for first-time OpenRules users.
02 / VACATION-DAYSDeployment options
Build a small decision model, test it, and explore ways to deploy it.
03 / AIAI agents
Connect transparent decision services to AI-powered interactions.
04 / DBRelational data
Integrate decision models with relational databases through Rule DB.
Run a sample
See the complete model in action.
Open VACATION-DAYS/VacationDays/ in openrules.samples and run test.bat to build and execute the decision model. Run explore.bat to open the Graphical Decision Modeling IDE, examine the automatically generated diagram, and debug the rules.
You can modify an existing project or create your own model, then deploy the decision service in the cloud or on premises and invoke it using JSON, XML, or Java.
Simple decision models
Learn one practical pattern at a time.
Use these focused examples as working starters for your own rules-based decision services.
Hello Customer
Begin with a compact decision model and see how its rules execute.
VACATION-DAYSVacation Days
Calculate an employee’s vacation allowance from familiar business rules.
INTRO / UP-SELLUp-Sell Rules
Model recommendations that respond to customer and transaction facts.
INTRO / THERAPYPatient Therapy
Apply a structured set of conditions to a healthcare decision.
INTRO / ITERATIONSIterations
Learn how a decision model processes collections of business objects.
WORKFLOWBuild, Test, Debug
Follow the practical workflow from decision tables to verified behavior.
Enterprise-level model
Move from samples to coordinated decision services.
The LOAN/LoanServices workspace shows how multiple decision projects can cooperate in a larger operational solution. Explore the enterprise-level decision model and its loan-origination decision services.
These models demonstrate a practical path from business-owned rules to production services while keeping the decision logic understandable and maintainable.
Build from a working example
Download the samples and make one yours.
Evaluate OpenRules free, run a model, inspect its decision tables, and adapt the business logic to your needs.
