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 <[email protected]> > 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 : MyEvent() > ……….. > > ---------- > Shannon Hastings > Inventrio > [email protected] > (614) 389-2795 ext: 101 > http://www.inventrio.com > > > > > _______________________________________________ > rules-users mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/rules-users > >
_______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
