Ruby alternative for : <a href=http://jboss.org/drools>drools</a> a business logic integration platform.
Please suggest a ruby alternative for drools. It will be better if it also supports integration with rails Active Record. ...
Please suggest a ruby alternative for drools. It will be better if it also supports integration with rails Active Record. ...
Hi I am trying to write a rule in drools drl language where I am want to do something like !(A && B) but it doesnt seem to like the ! operator or the word not. I am struggling to find good documentation on drools Please see sample code below: rule "Test Rule" when testBean : testBean(!(testList contains "test" && testList2...
Hi, While am trying to execute the Helloword process example from the section 2.3 in https://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/docs/drools-flow/html_single/index.html#d4e24 site am unable to find the below mentioned class. org.drools.builder.KnowledgeType Could anyone please tell from whic...
What is one good for that the other's not in practice? I understand the theory of what they do, but what are their limitations and capabilities in practical use? I'm considering Drools vs a java prolog for a new AI project, but open to other suggestions. What are some popular approaches for inferencing on a complicated relational data...
I was wondering if anybody else had experienced problems when installing the drools plugin for grails, becuase I had to do several manual steps to get this working and I thought that it would just install and work straight away. To get this working I had to do the following steps: Step 1 - Install drools plugin grails install-plugin d...
does anybody know if there is a way to do for loops in drools ?. I am trying to loop through a list of string to see if one of the strings matches a pattern e.g. def listOfStrings = ['a','a.b','a.b.c'] for(String s:listOfStrings){ if(s matches "^a.b.*$"){ return true } } I have written the following rule based on what documentat...
I have a knowledge base for performing validation of my data model. Modification events from the UI are posted asynchronously to a separate thread that updates the knowledge base and fires the rules. Validation errors trigger a logical insert of an error object. I can collect these and post events asynchronously back to the UI thread. Ho...
I am looking into learning more about Drools, but so far I am having trouble finding a reason to use it in any of my current apps. I am hoping to get some guidance on how it has been used in real enterprise applications. ...
We're using Drools to manage the state of orders that we place with a 3rd party, there can be many orders at once obviously and I was wondering what the best way of keeping track of them is? We have various events through the lifecycle of the order and the flow waits at each one for a flow event to trigger it into the next state. Curre...
Hi all! Is it possible with drools4 api generate from a .drl file a decision table spreadsheet (.xls)? Thank's ...
I'm trying to follow along with the examples in the book "JBoss Drools Business Rules" (which, like most other Packt Publishing books, is a poorly edited mess of misspellings, bad edits, and errors). The Drools UI has advanced a bit since this book was written, so I can't follow along exactly. I've uploaded a model as a jar file, and n...
I'm a newbie to Drools - i'm creating an application that uses drl files but my model is in a separate jar. When I reference the pojos locally in the drl it works fine, but when I put the pojos in a separate jar, it fails with a runtime exception complaining that's it's uncompilable code. Is there any way to reference pojos from the dr...
What is the outcome of several rules having the same salience? Is their order of execution just the order that they're listed in, or is that behaviour undefined - that is, are they checked in arbitrary order? I can't seem to find documentation of how this is handled internally. ...
Hi I'm currently teaching myself Drools Expert/Flow as well as GWT. I want to use Drools Flow as an event/command bus and business rule engine to achieve loose coupling between different parts of the application. So far I've gotten both Expert and Flow working from my test cases, but I have a hard time figuring how to best implement Fl...
I have a project that builds on a framework that uses drools. The model classes are already defined. I create the rules using drools guvnor and upload the jar with the model classes. But when I click on "Save and validate configuration" i get a bunch of warnings like this: Unable to find the class: sun.jdbc.rowset.CachedRowSet which ...
I (try to) use drools to process my pricing rules. But when I try to execute the rules the following exception is thrown: java.lang.RuntimeException: KnowledgeAgent exception while trying to deserialize KnowledgeDefinitionsPackage at org.drools.agent.impl.KnowledgeAgentImpl.rebuildResources(KnowledgeAgentImpl.java:418) at or...
Hi What is the best practice to test drools rules with junit? Until now we used junit with dbunit to test rules. We had sample data that was put to hsqldb. We had couple of rule packages and by the end of the project it is very hard to make a good test input to test certain rules and not fire others. So the exact question is that how ...