When I test the Golfer example in Drools4.0 environment. I found the rule
was matched twice but print same result. I try to override equals() and
hashCode() method in Golfer Object, but no change happen. Who can tell me
the reason that happened?
I am brand new to JBoss Rules / Drools development. I have found the
examples with the version 3.0.6 download extremely unenlightening. Can
anyone point me to a simple starter application to get a feel for how all of
this works? A simple thick client GUI or command line application would be
great. Preferably not just a collection og JUnit TestCases, but a real
application, no matter how simple, that shows how to exercise the rules
engine from Java would be very helpful to me.
this is just a dumb question for drools-languaje gurus... like
How ca I write a rule (CE in LHS) for accumulate atributes inside an
object, but this objects are not facts,
they are inside a collection which is an attribute from a fact...
pretty messy right?...lol..
well, the business problem is this.
I need to count (accumulate) vacation days used on previous vacation
I have an User (which is one fact) having a collection of
and an actual VacationRequest (the another fact).
So the rules is like this: discount to the available days for
vacation those used in previous
vacation request, and those days are the days between initDate and
endDate in each
old vacation request with isAproved seted true and having endDate
before the actual
vacation request initDate.
did I explain myself?...
so I need to know if this is possible I was trying to do something
like this...but is obviously wrong...:)
rule "remove used vacation days"
vr: VacationRequestVO($days: availableDays , $iniDate: initDate )
$u: UserVO( $vacReqList: vacationRequestList )
$usedDays: Number (intValue > 1) from accumulate ( $ovr:
VacationRequestVO( isAproved == true, endDate < $iniDate, $uDays:
from $vacReqList, count($uDays))
vr.setAvailableDays($days - $usedDays);
Felipe Piccolini M.
[Apologies for multiple postings]
-- Extended Deadlines: August 7th/17th --
RuleML-2007 Challenge: Rule Technology Showcase
October, 25th, 2007 - Orlando, Florida
With its unique emphasis on the practical use of rule technologies in
distributed Web-based environments, RuleML-2007 will feature a Challenge
with a focus on rule applications and rule-based tools. The challenge
offers participants a unique possibility to demonstrate their commercial
or open source tools, use cases, and applications.
Those demo paper submissions that are received by August 7th, and
accepted, will participate in the Challenge and be published in the
Springer LNCS Proceedings.
Those that are received a little later, but by August 17th very latest,
and accepted, will participate in the Challenge and may be considered
for publication in the Proceedings.
Submissions of demo papers (3-5 pages) for the RuleML-2007 Challenge can
be sent to
ruleml2007 AT easychair.org.
The RuleML-2007 Challenge is being held as part of the International
RuleML Symposium on Rule Interchange and Applications (RuleML-2007:
http://2007.ruleml.org/) - to be held in Orlando, Florida, on 25th/26th
October, in co-location with the 10th Business Rules Forum.
RuleML-2007 is devoted to practical distributed rule technologies and
rule-based applications which need language standards for rules
operating in the context of, e.g., the Semantic Web, Web 2.0/3.0,
Intelligent Multi-Agent Systems, Event-Driven Architectures and
Service-Oriented Computing Applications.
For more information please visit:
hi I have an exception after using an update
This is my rule :
#list any import classes here.
#declare any global variables here
unEntier : java.lang.Integer()
when I execute my rule on this list of facts :
List integerList = new ArrayList();
for (Object fact : integerList )
session.insert(fact); // session is a StatefulMemory
Update error: handle not found for object: 2. Is it in the working memory?
org.drools.FactException: Update error: handle not found for object: 2. Is
it in the working memory?
View this message in context: http://www.nabble.com/Update-error%3A-handle-not-found-for-object-tf42063...
Sent from the drools - user mailing list archive at Nabble.com.
I would be interested in any feedback from users who have used / are using
the JBoss Rules engine in a high performance environment.
In order to justify the use of JBoss Rules / Drools, I need to be able to
reference implementations that are using this rule engine in a production
The BRMS components that form part of release 4.0 allow it to be evaluated
alongside Ilog Rules and Blaze Advisor; however, I really need some case
studies that detail the numbers of facts and rules that are in production
use, and any related stability issues.
To date, I have come across the following links :
http://legacy.drools.codehaus.org/Testimonieshttp://lists.jboss.org/pipermail/rules-users/2007-July/002097.htmlhttp://geekswithblogs.net/cyoung/articles/54022.aspx - Microsoft's Rule
Engine Scalability Results - A comparison with Jess and Drools
Does anybody know of any links to case studies, or performance /scalability
If I have two objects asserted into working memory and the one is
inherited from the other will a rule such as the following fire on both
objects (Person and Employee):
Person( property == "bla" )
"Employees of Lonmin Platinum ("Lonplats") are not authorised to conclude
electronic transactions or to enter into electronic agreements on behalf
of Lonplats. Any electronic signature (other than an advanced electronic
signature as defined in the Electronic Communications and Transactions
Act of 2003) added to a data message (such as an email or an attachment
to an (email) ostensibly on behalf of Lonplats by a Lonplats employee shall
not be legally binding on Lonplats and Lonplats shall incur no liability of
any nature whatsoever, directly or indirectly, arising from such act on the
part of it's employee. It is further recorded that nothing (other than an
advanced electronic signature) inserted into any data message
emanating from Lonplats shall be construed as constituting an electronic