[rules-users] Fusion: Insert passed events

javadude sven at bighugesystems.com
Wed Mar 14 03:27:52 EDT 2012


Hi !
scenario: Event A then Event B. If there is no Event B after 5 min of A then
trigger rule.

*when
 time1:(Event) from entry-point xxx
 not (Event(this after[ 0,5m ] time1)) from entry-point xxx
then 
 ...
end*

For realtime event that works fine, but in real life you have the event
coming in delayed, eg. from an interface.

Example:
Event A time: 01:00 (mm:ss) but received at 02:00
Above rule will trigger at 07:00, but the business logic would require it to
be triggered at 06:00

How do I handle this kind of requirement ? 

Thanks
Sven

--
View this message in context: http://drools.46999.n3.nabble.com/Fusion-Insert-passed-events-tp3824630p3824630.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20120314/dfd52a15/attachment.html 


More information about the rules-users mailing list