Hi people, I was introduced to Drools 5 some weeks ago. And I have
started to lear since. I got really excited and surprised with its
amazing features and power.
I really want to learn some tricks on it as soon as possible and be
able to use it on one of my next projects
I didn't test
Hi,
I experienced the problem while reading WorkingMemory using
ObjectInputStream. I'm attaching the code that cause the following
exception:
java.lang.ClassCastException: java.io.ObjectInputStream
at org.drools.reteoo.Rete$ClassObjectTypeConf.readObject(Rete.java:605)
at sun
This would certainly work, but you should evaluate the performance carefully.
This is a cartesian join, and will run the eval() statement (number of
CoApplicant objects) * (number of Contract objects) on startup, (number of
CoApplicant objects) times when ANY Contract changes or is asserted, an
Since you're doing "or" between two different object types you can't combine it
using "||".
"||" is used only inside one condition element, while "or" is between condition
elements, and a condition element will only match one object type. (I figure
this is why multiple rules are generated with
Yes, there are features available in Drools that allow this. There are
different listeners for the Agenda, Working Memory, and Rule Flow related
events.
On Fri, Jan 16, 2009 at 11:48 AM, Ashish Soni wrote:
>
> Hi Mark,
>
> I am evaluating Jboss Rules for our upcoming project and wanted to know if
I think it would be like this:
rule "Test"
when
$ca: CoApplicant()
$co: Contract()
eval ( $c1.getRelationship().equals("S") ||
$co.getState().equals("CO") ||
$co.getState().equals("I
I think I found the answer to my question:
rule "Test"
when
CoApplicant( $relationship : relationship )
Contract ( $state : state )
eval ($relationship == "S" || $state == "CO" || $state ==
"IL")
...
Thanks
k...@chrysler.com
Sent by: r
Hi Mark,
I am evaluating Jboss Rules for our upcoming project and wanted to know if
there is any Auditing feature available from Drools / Jboss Rules , below
are more details -
If i have executed number of rules for a given use case , will Jboss rules
/ Drools maintain a Audit History of what
I understand that as this rule is written below it will be compiled into 2
subrules which both fire. I searched the archives and found a post where
Mark Proctor suggested "Bind each pattern, and do the || field constraints
in an eval.". I'm new to Drools, can someone elaborate on how I would do
The next issue I'm running into is referencing a method in another class
for the action. In this case, we get a compile error "Carton.carton
cannot be resolved"
I have both objects in the import statement. Is the syntax incorrect?
RuleTable
CONDITION
ACTION
product: Prod
There is an 'or' in 4.
http://downloads.jboss.com/drools/docs/4.0.7.19894.GA/html_single/index.html#d0e3739
--- On Fri, 1/16/09, Maxim Veksler wrote:
> From: Maxim Veksler
> Subject: [rules-users] How to write rules that can skip checking some
> constraint (i.e. "or" inside the rule)
> To: "R
"contains" in drools is used for Collections, not Strings. You should use the
"matches" leyword instead.
See the docs:
http://downloads.jboss.com/drools/docs/4.0.7.19894.GA/html_single/index.htm
Find section "6.5.2.1.1.3.1. Operators"
'"contains" and "not contains" is only applicable to Collec
Is there any new information on the GA date for Drools 5.0 ? I saw that M4
came out on December 10th and I am not aware what the expected lag is
between M4 and GA.
--
View this message in context:
http://www.nabble.com/Question-on-Release-Date-tp21501968p21501968.html
Sent from the drools -
Hi...
I'm trying to use KnowledgeAgent in my application; I already saw he
examples in the docs..but somehow I'm still not sure whether I've used it
correctly.
The case is that I implement a STATELESS session bean, which provides the
method that makes use of rule engine.
private KnowledgeBase kb
Hello List,
I'm trying to express a list of channels the subscriber is allowed to
access, this splits into 2 possible flows :
1. Subscriber has X>0 in $enabledChannels, allow passing only for
these channels.
2. Subscriber has "null" in the $enabledChannels - In that case
continue because this chec
Godmar Back wrote:
On 9/26/07, Edson Tirelli wrote:
Drools does not have any special treatment/feature for classloaders.
Default java classloader hirarchy is used. So, set your URLClassLoader as
the context classloader before building the package and it shall work.
I find it unli
16 matches
Mail list logo