Drools 6.x Expert – “no RuleTable cells in spreadsheet”

Drools 6.x Expert - "no RuleTable cells in spreadsheet" Error when working with Templates and Template Data in .xls files This has been reported a few times as a bug to JBoss and they have always come back and said that it cannot be replicated. There is a very good reason why this cannot be … Continue reading Drools 6.x Expert – “no RuleTable cells in spreadsheet”

Advertisements

Drools: Decision Tables and MVEL – Quirk? Feature? Consequence?

drinkingrules I had a very interesting experience today with Drools Decision Tables and MVEL. My Decision Table has a consequence that refers to $person.name - using MVEL. It compiled, it ran and it worked. But, I had a setup.drl File in the same rule package as the Decision Table, and in that setup.drl I set … Continue reading Drools: Decision Tables and MVEL – Quirk? Feature? Consequence?

Drools 6.x Decision Table Example

Creating the Project Open Eclipse New -> Maven Project (simple project) Simple Project Group Id: com.skills421.examples.drools Artifact Id: Drools6.xDecisionTableExample Finish Structure pom.xml Facts Fact.java Person.java RuleResponse.java RuleRunner RuleRunnerException.java RuleRunner.java Rules Setup.drl DrinkingRules.xls drinkingrules Main Main.java kmodule.xml kmodule.xml Output