We are using JBoss Rules (a.k.a. Drools) and have several .drl files that each contain several rules. Is there a way to avoid duplication between files, so that we can define common rules that are available to more than one .drl file?
Unfortunately, there does not seem to be any kind of include or module facility.
...
We used Drools as part of a solution to act as a sort of filter in a very intense processing application, maybe running up to 100 rules on 500,000 + working memory objects.
turns out that it is extremely slow.
anybody else have any experience using Drools in a batch type processing application?
...
I was asked to make some drools traning for my teammates. Just to show them how it can be used and how usefull it may be. To do this training I first have to learn Drools, and I figured that the best way to learn it will be small project centered around drools.
Any interesting ideas?
My idea for this project was to do some webMethods...
I am currently in the process of searching for a rules engine that works in .NET. Our logic is pretty simple, +, -, *, /, and, or, basic order of operations stuff. However we are going to need to store this information in the database and then generate the rules file when a new version is pulled from the database. So the common UI edi...
I'm using Drools (for the first time) to express some rules and it has been working really well so far. However I've been given a new condition that I'm not able to express in the rules language very clearly.
Essentially I need to perform an action on the players account if they have an outstanding balance on there account between a cer...
I have a rule LHS like that
when
$location : Location()
$cabinets : ArrayList() from collect ( Cabinet() from $location.elements() )
then
an when I print the content of @cabinets in RHS I see that it contains all elements (also those that are not of class Cabinet ).
I want to collect ontly cabinets from $location>elements()...
Using Drools 3.0.6 (old, I know), what is an efficient evaluation for finding a fact in a known, fixed and quite large array or collection (the inverse of contains, i.e. "is contained in").
Using an OR series of normal "equals" results in StackOverflowError as the array/collection can contain a few thousand entries, as the Drools binary ...
Hi I want to bring a little change in my site. So i have written a set of rules but I dont know how to fire them in the place that i want them to work i.e. the original code of my site.Can anyone plz help me on it?
...
I'm looking for a straightforward Java workflow engine that:
can handle both automated and manual (GUI-based) steps within a workflow
supports long-running, asynchronous tasks
provides support for restarting workflows in the event of a server crash
stores a full audit history of previously executed workflows
provides easy access to thi...
I'm currently evaluating Drools Flow as a workflow engine for executing up to hundreds of thousands of process instances per day. Has anyone published any scalability benchmarks for this technology? In the absence of published results does anyone have any relevant experience they can share?
...
Hello,
I am facing some issues while serializing objects (I am using JBoss Drools, and want to store an ArrayList of KnowledgePackage).
When I serialize the list, store the result in a file, and deserialize it, no problem occurs, so it works fine.
But when I serialize the list, store the result in a byte stream, then save it in a JarF...
Needed steps for implementing Drools Flow Persistence with MySQL.
I was following the Drools Flows Documentation on chapter 5.1.3.: Configuring Persistence.(https://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/docs/drools-flow/html_single/index.html#d0e1157 )
Erroo-1:
Caused by: bitronix.tm.utils.Propert...
I am currently writing an application using Drools 5.0. This application seems to be running a little slow, but I have a theory why. This application receives many updates for facts already in stored in the knowledge session. The Drools update function under the hood really does a retraction then an insertion. This application has over 2...
My input is Position report of a vehicle:
0,0,107,32,0,0,0,10,53320,-1,-1,-1,-1,-1,-1
0,0,107,32,0,0,0,10,53320,-1,-1,-1,-1,-1,-1
0,0,107,32,0,0,0,10,53320,-1,-1,-1,-1,-1,-1
0,0,107,32,0,0,0,10,53320,-1,-1,-1,-1,-1,-1
0,0,109,20,0,0,0,19,53320,-1,-1,-1,-1,-1,-1
0,0,109,20,0,0,0,19,53320,-1,-1,-1,-1,-1,-1
0,0,106,28,0,0,0,26,137745,-1,-1...
I have written a few Drools rules for my Seam application and am wondering how I go about unit testing these. Does anybody have any sample code that can show me how to go about doing this?
...
Let's say you have a million entities persisted into the database.
You want to fire your Drools rules on each persisted entity in order to check on what to do next with them.
What would be the preferable way to do that? Would you prefetch data according to the rules (which would mean that you tie your DAO to your rules), or would you ju...
Hi All,
I am using drools to validate an object. The object also has a getChildrenList() method which returns the child objects related to this object (master-detail relation).
I do some validations on the object and then I want to validate the child objects as well, so I insert all of the child objects as well into the working memory...
I am fairly new to drools and I'm running into some issues I can't really understand.
I'm trying to solve an allocation problem and one of my LHS goes like this
$leftAlloc: SlotAllocation($leftRes: resource )
$rightAlloc: SlotAllocation(this != $leftAlloc, resource == $leftRes)
for some reason the second statement does not match anyt...
I am evaluating drools flow as wrokflow engine with drools expert rule. Key evaluation points:
Generating Customize Rules and Workflow through own custom Web UI
Admin user can see all of the items in workflow in UI (View job queue: current queue, executed jobs, exceptions)
Rule Actions can be web services, Java classes or it can be ...