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
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
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
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
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
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
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
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