Without knowing your use cases, or what you intended to do with the
facts once you retrieve them, I'd suggest that you could simply add them
to a global list and examine the list contents after rule processing.
For example:
import java.util.List;
global List results;
rule "IWantToTrackM
The Drools Fusion documentation has a good explanation of how to define an
event, including the use of the @timestamp attribute.
http://docs.jboss.org/drools/release/5.2.0.Final/drools-fusion-docs/html/ch02.html#d0e184
From: rules-users-boun...@lists.jboss.org
[mailto:rules-users-boun.
Is that no longer
supported?
The error I get is "no viable alternative at input '(' in rule
"OrderActiveInLast7Days"". If I remove the part of the constraint in
brackets "[-7d,*]" then it compiles.
Thank You,
Nathan Bell
, better, or worse? I'm asking because I'm trying to decide
how quickly to switch to 5.2 when it is officially released. If there
are performance gains to be had I'll want to move to it more quickly.
Thanks,
Nathan Bell
___
rules-use
lessons learned from adopting
business rules in the development process.
Thank You,
Nathan Bell
Software Architect
Pharmacy OneSource, Inc.
http://www.pharmacyonesource.com
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
k You,
Nathan Bell
-Original Message-
From: rules-users-boun...@lists.jboss.org
[mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Edson Tirelli
Sent: Monday, November 22, 2010 7:55 PM
To: Rules Users List
Subject: Re: [rules-users] Temporal constraint not causing rule activation
and
Patient()
)
then
System.out.println("notBlock");
end
Is it invalid syntax to use implicit ANDs in a not block? If so, why?
Thank You,
Nathan Bell
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
have a birthdate set to (now + 1
day).
5. Invoke update() on knowledge session.
6. Call fireAllRules(). The rules does not activate. It should
activate here.
If I change step 5 to a retract + insert then the rule will activate in
step 6 as expected.
Thank You,
Nathan Bell
ge(), null, ex);
}
return retval;
}
The type of the instance variable "knowledgeSession" is
"StatefulKnowledgeSession". Ignore the class "ValidationResult", it is a
custom class used for returning results from this validation hel
t 7 months, or years. Is there built-in support for
doing this? If not, does anyone have suggestions on the best way to
approach this?
Thank You,
Nathan Bell
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
package com.simple.test.rule
import com.p1s.mps.rulevalidator.TestFact;
rule "TestRule"
when
$fact : TestFact(value == (1))
then
System.out.println($fact.getValue());
end
Note that both versions of the DRL file compile, run, and pr
We spent some time trying to figure out why our activation-group
functionality was not working. Activation groups are supposed to cause only
a single rule to fire within the same group. What we were experiencing is
that all the rules were firing, essentially ignoring the activation-group
setting.
Perfect, yes. Thanks.
--
View this message in context:
http://n3.nabble.com/Re-rules-users-Digest-Vol-40-Issue-41-tp440433p440933.html
Sent from the Drools - User mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.
uild from source etc etc.
https://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/
trunk/target/docs/drools-planner/html_single/index.html
With kind regards,
Geoffrey De Smet
Nathan Bell schreef:
> I?m fairly new to this list, but I have already seen a great deal of
>
Thank You,
Nathan Bell
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
e of Drools to build event driven systems for the healthcare
industry.
Thank You,
Nathan Bell
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
16 matches
Mail list logo