Re: [rules-users] get inserted facts

2011-07-05 Thread Nathan Bell
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

Re: [rules-users] usage of @startTimestamp

2011-06-23 Thread Nathan Bell
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.

[rules-users] Is asterisk no longer valid in temporal constaints?

2011-06-13 Thread Nathan Bell
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

[rules-users] Expected relative performance of 5.2

2011-05-22 Thread 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

[rules-users] Case study involving use of Drools in commercial SaaS healthcare application

2011-04-25 Thread Nathan Bell
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

Re: [rules-users] Temporal constraint not causing rule activation when using StatefulKnowledgeSession.update()

2010-11-23 Thread Nathan Bell
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

[rules-users] Are implicit ANDs allowed in "not" blocks?

2010-11-22 Thread Nathan Bell
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

[rules-users] Temporal constraint not causing rule activation when using StatefulKnowledgeSession.update()

2010-11-22 Thread Nathan Bell
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

Re: [rules-users] Programatically adding rules toKnowledgeBase/StatefulKnowledgeSession

2010-11-18 Thread 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

[rules-users] Fusion temporal operators, time units

2010-11-16 Thread Nathan Bell
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

[rules-users] Issue with literals in Drools Verifier 5.1.1

2010-11-10 Thread Nathan Bell
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

[rules-users] Activation-group does not work when using a Stateless Session with Sequential Mode enabled

2010-05-27 Thread Nathan Bell
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.

[rules-users] nabble

2010-03-10 Thread Nathan Bell
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.

Re: [rules-users] rules-users Digest, Vol 40, Issue 41

2010-03-10 Thread Nathan Bell
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 >

[rules-users] A general question about this mailing list

2010-03-10 Thread Nathan Bell
Thank You, Nathan Bell ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

[rules-users] Drools / JBoss Rules in the medical field

2010-02-15 Thread Nathan Bell
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