[rules-users] Rules with variable timers

Shannon Hastings shannon.hastings at inventrio.com
Wed Aug 17 12:45:36 EDT 2011


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
shannon.hastings at inventrio.com
(614) 389-2795 ext: 101
http://www.inventrio.com



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20110817/a742e2a4/attachment.html 


More information about the rules-users mailing list