Skip to contentSkip to main content
DroolsBusiness Rules
11 min

Is Drools 7 Still Supported? Lessons From Migrating Hundreds of Thousands of Rules

A Drools punched card marked 7 / 2 connects to two mechanical displays, one reading 3.5 and the other 3.

Community Drools 7 has reached end of life. Its last release, 7.74.1.Final, shipped in July 2023. If you run a commercial build, support depends on your build and agreement. For a move to Drools 10, check whether your application calls KieSession.startProcess() and replay rules that are moving from classic MVEL to the executable model. Drools release history

At Aletyx, we’ve helped clients migrate hundreds of thousands of Drools rules. On one project with roughly 90,000 rules, we found a rule that still compiled after the upgrade but gave a different answer.

We reproduced the difference by asking both engines to divide seven by two. Classic MVEL on Drools 7 computed 3.5. The executable model on Drools 10 used integer division and computed 3. If the next rule requires a score above 3 to qualify, that half point changes the decision.

Which version of Drools are you running?

If you’re unsure which build you have, Maven can show you. Run this in the module that builds your application.

mvn dependency:tree -Dincludes='org.drools:*,org.kie:*'

7.74.1.Final identifies a community release. The suffix in 7.67.2.Final-redhat-00041 identifies a vendor build. Check the deployed application too. It’s easy for the version on your laptop to be a release ahead of production.

If you run a commercial distribution, check your exact build, maintenance entitlement and private update channel. Your contract and supplier can clarify the support phase, end date and fixes available to you. If you run Red Hat Process Automation Manager or Decision Manager, see the RHPAM and RHDM end-of-life options. Red Hat lifecycle · IBM lifecycle

Who fixes a wrong decision or a vulnerable dependency?

Consider an eligibility rule that skips a review when two facts change in the same session. If you trace that behavior to an engine defect, you need a reproducible case, someone to fix the engine, and a build you can test. On community Drools 7, your team owns the workaround or backport until you move to a maintained version. That defect would not appear in a security scan.

The UK’s National Cyber Security Centre expects AI to shorten the time between a vulnerability becoming public and its exploitation. That puts pressure on the whole patching process. Can your team find the affected service, get a patched build, replay its decisions and deploy it in time? NCSC assessment of AI and cyber threats

How you package Drools changes what you need to patch. The table uses the November 13, 2026 update of the Aletyx KIE CVE dashboard for community Drools 7.74.1.Final. We counted each CVE identifier once per deployment, even if it appeared in several libraries. Dashboard for 7.74.1.Final · Public scan data

How Drools 7.74.1 is deployedDistinct CVEsCriticalHigh
Rules packaged as a KJAR (the engine and its libraries)29015
Spring Boot 2.7 application with a KJAR1191049
Business Central114351
KIE Server on a web container60227
KIE Server on Java EE 757225

In that scan, the Spring Boot application had ten critical findings. The plain KJAR had zero critical findings and 15 high. Your deployed dependency list helps establish which advisories apply, whether your service uses the affected component, and who can supply a fix. For a commercial build, check its private advisories and backports. A public version scan cannot establish its patch status.

Can KieSession.startProcess() still run my ruleflows on Drools 10?

Look for calls to KieSession.startProcess(...) and .rf, .bpmn or .bpmn2 files that activate ruleflow groups. In Drools 7, a process can run several groups in sequence against the same working memory. Community Drools 10 lacks the classic runtime for that flow. The shared interface can still expose the method, so the application may build successfully and fail only when it tries to start the process. Aletyx Drools 7 migration guide

Imagine an application that starts a process when someone applies for a loan. The first rule group calculates income. A later group reads that income and refers the application for manual review. Each group can pass its own tests. The break comes one step earlier. Community Drools 10 cannot start that classic BPMN ruleflow through startProcess(), so the application never reaches either group through that call.

If the business depends on that flow, preserving it belongs in the upgrade estimate. On community Drools 10, plan how your application will sequence the groups and carry facts between steps. The Aletyx Enterprise Build of Drools restores startProcess() and BPMN rule orchestration so you can run the existing flow on Drools 10. Use the same case to validate either approach. Aletyx Enterprise Build of Drools

Will classic MVEL rules give the same answers in the Drools 10 executable model?

One client’s application used the classic engine with the MVEL dialect. We compared its results with the Drools 10 executable model, which translates rule logic into Java. Most rules agreed. Here are five examples from our migration notes.

Rule textDrools 7 with MVELDrools 10 executable model
7 / 2 in a consequence3.53
attrs[“code”] == “0” when the map holds the number 0truefalse
Collections.sort($list) on a List() from collectSorts the listThrows UnsupportedOperationException
update($fact) after changing one propertyRe-evaluates the rules that read that propertyRe-evaluates every rule on the fact
if ($codes contains “A”) in a consequenceWorksDoes not build

The team reported 13 cases where a rule compiled but gave a different answer on Drools 10. Our patch notes also cover build failures, errors under load and other differences we found while fixing the reported cases.

Why does 7 / 2 give a different answer in a Drools rule?

Here’s the smallest DRL rule we used to reproduce the difference. The test checks both the value of 7 / 2 and its Java type.

package example;

global java.util.Map results;

rule "literal division in a consequence"
    dialect "mvel"
when
then
    results.put("literal", 7 / 2);
end

We ran this rule on community Drools 7.74.1.Final and 10.2.0. On both releases, 7 / 2 evaluated to 3.5 (Double) in classic MVEL and 3 (Integer) in the executable model. Changing the execution model changed the answer even when we kept the Drools version the same.

Where the expression appears matters, too. The division above runs in the consequence, after the rule fires. In a separate rule we tested eval($n / $d > 3) as a condition. With inputs 7 and 2, that condition was false in all four runs. With 8 and 2, it was true in all four.

You can run the same comparison with JDK 17 and Maven 3.9.x. From the repository root, run mvn test to print the value and Java type for each model. Run the Drools 7 and 10 MVEL division example on GitHub.

If your own rules depend on that half point, bring a case that just qualifies and one that just misses. We can help you replay both against the Aletyx Enterprise Build of Drools. Request a Drools migration trial.

Find the rules that use MVEL

Start with DRL files that explicitly set the MVEL dialect. Also check package-level declarations and generated rules if you use them.

rg -l 'dialect[[:space:]]+"mvel"' --glob '*.drl' .

Record a baseline on the system you run today

The following KIE API listener records the names of rules that fire. Attach it before invoking the application’s usual entry point. The last line shows the entry point for a service that fires rules directly.

List<String> fired = new ArrayList<>();
ksession.addEventListener(new DefaultAgendaEventListener() {
    @Override
    public void afterMatchFired(AfterMatchFiredEvent event) {
        fired.add(event.getMatch().getRule().getName());
    }
});
ksession.fireAllRules();

Run the same requests through both versions and compare the decisions and the facts behind them. The rule trace can help locate a difference. Include cases on either side of important thresholds. If the service starts a classic ruleflow, capture its decisions on Drools 7. Those are the results your replacement orchestration on community Drools 10 needs to reproduce.

Check how your rules are compiled

Drools 7 could already use the executable model. The standard KIE Maven plugin made it the default from 7.39, so first inspect how each KJAR was actually built. If yours uses the classic interpreter, Drools 10 still offers it as a deprecated migration option. The configuration below lets you test the platform upgrade before changing how your rules compile. Choosing the classic interpreter does not restore startProcess() orchestration in community Drools 10. Drools 7 build documentation · Apache Drools migration guide

<dependency>
  <groupId>org.drools</groupId>
  <artifactId>drools-engine-classic</artifactId>
</dependency>

<plugin>
  <groupId>org.kie</groupId>
  <artifactId>kie-maven-plugin</artifactId>
  <extensions>true</extensions>
  <configuration>
    <generateModel>NO</generateModel>
  </configuration>
</plugin>

Once that comparison passes, you can rebuild one KJAR with drools-engine and the executable model, then replay the same cases before moving on to the next.

Check the application around the rules

Drools 7 runs on Java 8 or 11 and is built on the javax namespace. Budget separately for the JDK, framework and tooling your team uses to author and deploy decisions.

AreaDrools 7Community Drools 10What to do
JavaRuns on Java 8 or 11Requires Java 17Upgrade the JDK first
Namespacejavax.*jakarta.*Move to Spring Boot 3 or later, or Quarkus 3
Dependenciesdrools-core plus drools-compilerdrools-engine (executable model) or drools-engine-classic (interpreter with MVEL)Replace the old pair with one of the two aggregates
Rule compilationClassic DRL or the executable modelThe build plugin defaults to the executable modelCheck the effective build configuration for each KJAR.
Internal classesorg.drools.core.impl.InternalKnowledgeBase, org.drools.core.ClassObjectFilterorg.drools.kiesession.rulebase.InternalKnowledgeBase, org.kie.api.runtime.ClassObjectFilterFix the imports, and use org.kie.api wherever you can
Removed modulesScorecards, guided rules and guided decision tables, the classic PMML engine, CDI and OSGi supportNot presentConvert those assets to DRL, spreadsheets or DMN
Servers and toolsBusiness Central and KIE ServerAbsent from the community Drools 10 distributionEmbed the engine in your own service

On performance, measure before you promise anything. In our own benchmarks of the same rules on Drools 7.39 and 10.2, inserting 500,000 facts took 27% less time and firing the rules 10% less. In those same benchmarks, KieBase builds took 6% to 12% longer and retained heap grew by about 20%.

The team that moved about 90,000 rules reported about 50% better execution and about half the startup time in its own tests.

How Aletyx helps you keep existing decisions running

Our Enterprise Build of Drools includes the fixes we delivered on that migration. When you move to Drools 10, we can work with your team to reproduce the Drools 7 decisions your application depends on. The engineers who build it also patch it for CVEs and support it under an SLA.

If you trace a wrong decision back to the engine, you can bring the failing case to the engineers who maintain our Drools builds. We monitor CVEs and deliver signed updates. Coverage and response times depend on your support plan. If you maintain a community build yourself, agree on who’ll investigate the next engine bug and who can get a tested fix into production. Aletyx support plans

If your application also relies on KIE Server, Business Central or jBPM, include the way you deploy and update rules in your evaluation. A rule that passes in a unit test still has to reach production through a process your team can operate. Aletyx modernization options

Where to start

A good first test is a decision someone would notice getting wrong. Capture its inputs, expected result, deployed Drools version and entry point, along with the process definition if it starts a process. You can use that case both for the migration and to validate a future engine fix.

If you have a difficult ruleflow and would like another set of eyes on it, bring it to us with a representative case and any sensitive data removed. Talk to the Aletyx Drools team

FAQ

Is Drools 7 end of life?

Yes. The last community release was 7.74.1.Final in July 2023, so teams need another source for engine fixes and security patches. Commercial builds have their own maintenance terms.

Can I upgrade from Drools 7 straight to Drools 10?

Yes. You can skip the intermediate versions. The upgrade includes the JDK, framework dependencies and rule compilation as well as the engine. If your application uses classic BPMN ruleflows, allow time to replace that orchestration when moving to community Drools 10.

Do I have to rewrite my rules for Drools 10?

Many DRL files and spreadsheet decision tables carry over. MVEL expressions still need testing, and guided rules, guided decision tables and scorecards need an inventory for conversion. If your application calls startProcess() to run a classic BPMN ruleflow, community Drools 10 cannot run it. You’ll need to redesign the orchestration or use the Aletyx Enterprise Build of Drools, which restores support for the existing flow.

How many known vulnerabilities does Drools 7 have?

It depends on what you deploy. The November 13, 2026 dashboard data showed 29 distinct CVEs in the dependencies of the community 7.74.1.Final KJAR and 119 in the Spring Boot 2.7 application that included it. The application or server image you ship is the one to scan. Aletyx KIE CVE dashboard

References

  1. Drools Core release history — Maven Central
  2. KIE CVE dashboard for Drools 7.74.1.Final — Aletyx
  3. Impact of AI on cyber threat from now to 2027 — UK National Cyber Security Centre
  4. Drools 7 EOL – What you need to know — Aletyx
  5. Drools 10 migration guide — Apache KIE
  6. MVEL division in Drools 7 and 10: rule and Maven tests — GitHub

About the author

Co-founder & CEO

A recognized open-source leader and one of the longest-standing contributors to Drools and jBPM, who led the portfolio at Red Hat and IBM. Now building the harness that makes AI agents follow your rules.

More from Alex