Thanks Kris. It's OK.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
Hello,
The rule below check which quote have a price above the average.
In this form the rule is working, but from the log files it seems that
this rule is doing a cross join.
rule "above average value"
dialect "mvel"
when
Double( $average : doubleValue) from
accumu
Ok, I think I just found my answer, from 4.8.2.1
'Note: Nested accessors have a much greater performance cost than direct
field accesses, so use them carefully."
But is the simple case in the previous post considered "nested"?
--
View this message in context:
http://www.nabble.com/immediate-
The docs state that == with bound variables is very fast due to hashing. The
example only shows a simple bound value, eg
Person( likes : favouriteCheese )
Cheese( type == likes )
In the following will drools create an implicit hashed variable for
'$p.likes' and yield the same performance?
Hi,
I'm afraid I downloaded the new plugin from the link you have and it still
wont allow me to debug on eclipse 3.5. Anyone else had any luck?
Cheers,
Justin
On Thu, Aug 27, 2009 at 11:05 PM, Kris Verlaenen <
kris.verlae...@cs.kuleuven.be> wrote:
> Ok, sorry, it took me a while but I found th
I am hoping that I am doing something wrong here and that one of you can
point me in the right direction.
Can anyone provide some advice on scaling up the number of rules in a
single KnowledgeBase? While I have seen all sorts of reports on having
lots of facts, I have not seen anything about hav
Hello group, I recently had the idea:
"A rule system (like Drools) is ideal for making programs with complex
rules simpler. Writing a lexer or parser can be non-trivial. So, is it
possible and also meaningful to express such a task with rules?"
Anyone here who maybe tried that already?
The two
Yeah, the docs rightly state that you shouldn't depend too heavily on a given
rule firing order:
https://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/docs/drools-expert/html_single/index.html#d0e1572
Scroll down to "3.3.4.1. Conflict Resolution"
They also say tha
Hi Users, Please help me to clear my doubt of using 'extend' keyword in Rules.I tried using this keyword to use the condition of rule 1 in rule 2 as Rule "first rule" when then Rule "second rule" extends "first rule" when then But when I tried to use it, it
Hi,
I can't reproduce your issue, however I tried with a declarative
model, not an uploaded jar. Can you try with trunk?
https://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/drools-5.1.0.SNAPSHOT-guvnor.zip
Cheers,
Jarek
Codedrop wrote:
> Reposting as last me
Certainly. And while containsAll may work, mattering the size and nature of
the collections involved (linear vs constant time existence check) it might
not perform as well as your first solution.
--- On Wed, 9/2/09, Wolfgang Laun wrote:
> From: Wolfgang Laun
> Subject: Re: [rules-users] for
Certainly, and it's more to the point - thank you!
Nevertheless, the compiler hiccup ought to be investigated
-W
On Wed, Sep 2, 2009 at 5:31 PM, Greg Barton wrote:
> Is Collection.containsAll() an option?
>
> --- On Wed, 9/2/09, Wolfgang Laun wrote:
>
> > From: Wolfgang Laun
> > Subject: [ru
We externalized Drools flow persistence model's table/column names in orm.xml
mapping file whose size is bigger than 30 character long, in order for it to
work with Oracle Database. Except for PeopleAssignment JPA Pojo, since it
utilizes @embeddable annotation.
Does anyone knows how to define @e
Is Collection.containsAll() an option?
--- On Wed, 9/2/09, Wolfgang Laun wrote:
> From: Wolfgang Laun
> Subject: [rules-users] forall/from/eval/contains: odd DRL syntax error
> To: "Rules Users List"
> Date: Wednesday, September 2, 2009, 9:58 AM
> A rule has to ascertain that all elements in
>
I have to disagree on one point. Having fact classes with methods that modify
the object in addition to the usual setters is not dangerous, it's called
"encapsulation" or "information hiding" and is a common OO pattern. Now, in
the rules context, you have to inform the engine that the object h
A rule has to ascertain that all elements in a Listin a
Collector occur in the matching BoxResponse's Set. There is
just one BoxResponse per Collector.
This here works fine:
rule matchCollectorResponse
when
$c : Collector( $ebsList : elemBoxStatusList, $gsSet :
globalStatusSet )
When using the human task service in combination with JPA, you should
use the CommandBasedWSHumanTaskHandler, not the default WSHumanTaskHandler:
http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/process/workitem/wsht/CommandBasedW
Hi Eric.
Thanks for the answer. Basically I developed that code yesterday, yes. I
did it somehow similar to the Ant Task. But I had some serious
serialization issues as posted yesterday. Maybe you have an idea about
that?
> If one doesnt exist and theres enough interest, we
> could use wha
Bernd,
Something didn't exist as of Drools 4.x (at least nothing official). With the
latest release of Drools, the amount of code needed to be written to compile is
actually pretty small. Making a Maven plugin would not be that difficult.
I've made one that is just a couple of hundred lin
Hi,
I want to use the condition of Rule 1 in Rule 2.
So for this I got to know that extend keyword will be used.
But in the documentation I have not get any details of the same.
So can you please tell me how to use extends keyword in Rule.
Thanks & Regards
Pardeep Ruhil
L&T Infotech Ltd
Mumbai
Hi!
I did a lot of searching aroung the web, drools doc and this mailing
list but could not solve my problem.
I want to monitor a folder for BRL File so i used the Agent.
Java Code:
KnowledgeAgent kbAgent = KnowledgeAgentFactory.newKnowledgeAgent("kbAgent");
Resource resource = ResourceFactory.n
Thank you for the response Greg. For starters, I did NOT know about
specificity... very helpful to know, and I feel certain I will be using it in
the future. I don't feel any of the documentation I've read on Drools really
got this subject across for me, I not sure the the Drools developer bo
22 matches
Mail list logo