[rules-users] Drools IDE Updating in Eclipse

2009-03-26 Thread Dave Macpherson
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

[rules-users] Trying to get Sliding Windows to work

2009-03-26 Thread ober0n
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++) {

[rules-users] any users on System z or websphere process server?

2009-03-26 Thread Michael Neale
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

[rules-users] How to tell if rule is using eval internally

2009-03-26 Thread Jared Davis
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

[rules-users] Guvnor guided rule and nested objects

2009-03-26 Thread hpost
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);

Re: [rules-users] Unable to create Field Extractor

2009-03-26 Thread Hugo Melendez
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

Re: [rules-users] Guvnor Audit Logging

2009-03-26 Thread a...@work
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'

Re: [rules-users] Facing severe issues while using Persistence

2009-03-26 Thread Kris Verlaenen
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

Re: [rules-users] Unable to create Field Extractor

2009-03-26 Thread Mauricio Salatino
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:

[rules-users] Unable to create Field Extractor

2009-03-26 Thread Hugo Melendez
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

[rules-users] How to add more knowledge to Stateful session, post start-up

2009-03-26 Thread john.shepherdson
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