I've upgraded my Drools installation to 5.0.0.CR1, including the Eclipse
IDE, and it all seems to be working, but Eclipse's automatic updates keep
detecting that the IDE needs to be upgraded, and it's suggesting the M5
version of the IDE. I keep cancelling the update, but it's getting
annoyingi
Hi, I am having trouble understanding how to use sliding windows. Here are
the relevant snippets of code I added to the Hello World example under
Drools Fusion. I also added a timestamp to the Message class (with
corresponding get and set functions).
DroolsTest.java:
for(int i=0; i < 6; i++) {
ping me off list if you get a chance, would be appreciated.
--
Michael D Neale
home: www.michaelneale.net
blog: michaelneale.blogspot.com
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
How do you tell if a rule is using eval() without access to Eclipse?
The documentation states certain nested accessors will be re-written into eval
statements.
Regards,
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.or
Hi. I am trying to implement the following rule using a guided rule in
Guvnor. It works successfully in the Eclipse environment.
rule "SevereHypoglycemia"
no-loop true
when
$event : GlucoseEvent(input.glucoseValue <=
glucoseConst.severeHypoglycemiaThreshold);
I think is the last one and the method is relatively old.
Reviewing the problem, the Afiliado object is obtained from a service and
then I (accidentally?) cast it as an Object. Maybe that is the problem.
I must do some tests.
Thanks Mauricio ;)
On Thu, Mar 26, 2009 at 11:32 AM, Mauricio Salatino
Thx Dave. That worked great.
Not sure you are the right person to address this to, but in the source code
I saw
session.execute(facts);
StatelessSessionResult ssr =
session.executeWithResults(facts);
I think we do not need the 'session.execute'
Umesh,
Based on the error in the H2 log, it seems like you are trying to assign tasks
to a user that is not in your users database. The task component contains a
list of possible users and methods to add new users. When creating a new task,
possible actors must be in the user list, otherwise
Are you sure that the class that you have in the classpath is the last
one, and have the method getCodigoPlan()?
Did you add this method recently?
2009/3/26 Hugo Melendez :
> Hi, I'm using JBoss Rules 4.0.7
> and I having this error when executing some rules.
>
> org.drools.RuntimeDroolsException:
Hi, I'm using JBoss Rules 4.0.7
and I having this error when executing some rules.
org.drools.RuntimeDroolsException: org.drools.RuntimeDroolsException:
java.lang.IllegalStateException: Error in getting field access
method.Unableto create Field Extractor for 'codigoPlan' of
'[ClassObjectType
class
At present I set up a ksession like this:
KnowledgeBase kbase = < call method that loads several rule files and
process flow files via
kbase.addKnowledgePackages(kbuilder.getKnowledgePackages()) >
StatefulKnowledgeSession ksession = kbase.newStatefulKnowledgeSession();
Then I set globals, start
11 matches
Mail list logo