Category Archives: drools functions

Drools :: globals-and-functions Example

Environment Drools 7.5.0.Final Project globals-and-functions – Structure App.java public class App { public static final void main(String[] args) { try { KieServices ks = KieServices.Factory.get(); KieContainer kContainer = ks.getKieClasspathContainer(); KieSession kSession = kContainer.newKieSession(“ksession-rules”); Topic topic = new Topic(“Drools”); kSession.insert(topic); kSession.insert(new … Continue reading

Posted in drools functions, drools globals, jbpm drools | Tagged , , | Leave a comment