Hi,
I am building a system where I would need to fire different sets of rules
based on some attribute in the fact object.
Here are someways which I thought of, I was wondering if there was something
better than that.
1) I could do this by creating different sessions based on the data attrbute
Greetings.
I am trying to find the correct approach to defining and using Java5 Enum's
in Drools constraints.
*Psudo code:*
Class RuleRequest {
... other attributes ...
// RequestType is an enum type.
RequestType type ;
public RequestType getRequestType() {
retu
Normally that means there is something wrong with your .jar, are you
sure there are .class files in there and not .java? We don't compile
.jars we only add them to the classpath.
Mark
Darko Ivancan wrote:
Product: JBoss DRools
Version: 4.0.3
JDK: 1.5.0_12
OS: Windows XP SP2
AS: JBoss 4.2.2GA
Mark Proctor wrote:
Mescher,Mark wrote:
Hello,
we have realized a project using drools with Decision Tables. We are
working in sequential mode.
Now we have the request for a mechanism to stop the rule execution
after the first rule matches (so no more rules are executed). Is
there a native wa
Mescher,Mark wrote:
Hello,
we have realized a project using drools with Decision Tables. We are
working in sequential mode.
Now we have the request for a mechanism to stop the rule execution
after the first rule matches (so no more rules are executed). Is there
a native way to do this with dec
Drools does not currently support dynamic properties on objects, only
concrete java classes. The fact template stuff is experimental and thus
not documented and not gauranteed to work :)
Partly this is because we are not sure how to effectively expose Fact
Templates to the java dialect, I thin
Product: JBoss DRools
Version: 4.0.3
JDK: 1.5.0_12
OS: Windows XP SP2
AS: JBoss 4.2.2GA
Hi,
Sorry haven't been on the list for a while, busy with a project, which keeps me
now really busy.
We have here an exception which does not seem to make any sense and we're a bit
lost in the why and where
Hello,
we have realized a project using drools with Decision Tables. We are working in
sequential mode.
Now we have the request for a mechanism to stop the rule execution after the
first rule matches (so no more rules are executed). Is there a native way to do
this with decision tables?
Thx
Ma
Hi,
I am having trouble understanding why the following does not work in 4.0.4.
rule "A"
when
foo : Foo( bar == true )
then
insertLogical( new DerivedFact( "relationName", foo, Boolean.TRUE ) );
end
rule "B"
when
tuple : DerivedFact( name == "relationName" )