Re: [rules-users] Rules with variable timers

2012-12-19 Thread Wolfgang Laun
On 19/12/2012, riri wrote: > I understand that by default the timestamp for a given event is read from > the Session Clock and assigned to the event at the time the event is > inserted into the working memory. Is there any way to access these values > from inside the .drl file or do I have to set

Re: [rules-users] Rules with variable timers

2012-12-19 Thread riri
could have unwanted consequences that I am overlooking. Regards -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-Rules-with-variable-timers-tp3262197p4021247.html Sent from the Drools: User forum mailing list archive at Nabble.com

Re: [rules-users] Rules with variable timers

2012-12-18 Thread Wolfgang Laun
lity myself to see how it works > but any response I get is greatly appreciated. > > Thank you for your time! > Regards > > > > -- > View this message in context: > http://drools.46999.n3.nabble.com/rules-users-Rules-with

Re: [rules-users] Rules with variable timers

2012-12-18 Thread riri
drools.46999.n3.nabble.com/rules-users-Rules-with-variable-timers-tp3262197p4021239.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] Rules with variable timers

2012-12-18 Thread Wolfgang Laun
e rules > without having to directly modify the .drl file. > > If there are better ideas out there I'm open to suggestions since I'm just > starting with Drools and Fusion. > > Regards > > > > -- > View this message in context: > http://drools.46999.n3

Re: [rules-users] Rules with variable timers

2012-12-18 Thread riri
tions since I'm just starting with Drools and Fusion. Regards -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-Rules-with-variable-timers-tp3262197p4021237.html Sent from the Drools: User forum mailing list a

Re: [rules-users] Rules with variable timers

2011-08-18 Thread Wolfgang Laun
No, there isn't - parameters of timer() must be constant values. But this can be solved using java.util.Timer with little additional effort. -W 2011/8/17 Shannon Hastings > Is there a way to write a rule in DRL that uses a timer or something that > is dynamic. I.E. I want the time that rule wa

[rules-users] Rules with variable timers

2011-08-17 Thread Shannon Hastings
Is there a way to write a rule in DRL that uses a timer or something that is dynamic. I.E. I want the time that rule waits to fire to be dependent on a variable such as below: rule "CheckDoseMissed" no-loop timer(int: $eventA.sleepTime) when $eventA : M