This post shows how to create a simple decision tool in Drools 6.0. Create a new Simple Maven Project Create a new Maven Project and check the Simple Project box. Set the Group Id and Artifact Id as follows: Group Id: com.skills421.examples.drools Artifact Id: DecisionTable Edit the pom.xml pom.xml
Install JBPM5
Download JBPM5 from http://www.jbpm.org Click on download Click on Older Community Releases This will redirect you to http://sourceforge.net/projects/jbpm/files/ Click JBPM5, this will redirect you to http://sourceforge.net/projects/jbpm/files/jBPM%205/ Click on JBPM5.4 Final and download the installer zip file to your downloads directory Move the downloaded zip to the destination folder and expand it Open a cmd shell... Continue Reading →
Install JBPM5
Open http://www.jbpm.org/download/download.html Select Old Community Releases This will redirect you to: http://sourceforge.net/projects/jbpm/files/ Select JBPM5 Select JBPM-5.4.0.Final Download JBPM-5.4.0.Final-Installer-Full.zip
Drools 5.6 and Intellij Idea
Download Intellij Idea Community Edition from https://www.jetbrains.com/idea/download/ Install Intellji by double clicking the downloaded file and following the instructions Open Intellij Create New Project New Project SDK Navigate to the latest version of Java. On a Mac that is currently /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk next Group Id: com.skills421.examples.drools ArtifactId: WritingRules Next Project Name: WritingRules Default Pom looks like this: Add Drools... Continue Reading →
Java9, Intellij IDEA, Drools6.5 simple example
Download VirtualBox https://www.virtualbox.org/wiki/Downloads
Drools 7 Project Template
Create the New Maven Project File -> New -> Maven Project GroupId: com.skills421.java.training ArtifactId: Restful-Service Version: 1.0-SNAPSHOT Web Service
Oracle OPM: Error opening Rule Assistant in word
The Scenario Running on a Mac Running VirtualBox as follows: - Windows 10 - Office 365 - Oracle Policy Modelling (OPM) Create Project in OPM Click on Rules Tab Double click on the Word Document to enter the rules The Problem Click on Rule Assistant Get the following popup warning: The document's project needs to... Continue Reading →
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: 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 →