[rules-users] Fusion, Insert Events with timestamp in the past.

SebastianStehle mail2stehle at gmail.com
Tue Jun 17 04:05:03 EDT 2014


I realized that there are some mistakes in my previous post with the times:

1. First example:

LHS: $e: Message (Message(this after [0, 10sec] $e), where Message has an
@timestamp
1.1.
insert(new Message(NOW().subtract(5sec))); <-- 11:00:00am
wait(6sec);
insert(new Message(NOW()));
// NOT Activated

1.2.
insert(new Message(NOW().subtract(5sec))); <-- 11:00:00am
wait(2sec);
insert(new Message(NOW()));
// Activated at 11:00:05am

2. First example:

LHS: $e: Message not (Message(this after [0, 10sec] $e), where Message has
an @timestamp

insert(new Message(NOW().subtract(5sec))); <-- 11:00:00am
// Activated at 11:00:10am

Has anybody an idea with example #2 is not working?




--
View this message in context: http://drools.46999.n3.nabble.com/Fusion-Insert-Events-with-timestamp-in-the-past-tp4029843p4030069.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list