An event represents something that already happened (past), so there is
no such thing as a future event. You can have a fact that represents
something that is scheduled to happen in the future, but that is not an
event, and it can change as it is just data. Events are immutable.

   For instance: airport. You can have a flight scheduled to leave tomorrow
at 08:00am, from gate B1. That schedule might change, because the flight
can be delayed, cancelled, change gates, etc. It is just a fact in your
system (e.g. ScheduledFlight). But when the flight actually departs the
gate, then the system can have an event like FlightDepartedFromGate() that
says the flight left the gate B1 at 08:02am. This is immutable, because it
registers something that happened.

   Edson

On Wed, Mar 14, 2012 at 1:44 PM, lexsoto <lexs...@gmail.com> wrote:

> Hello:
>
> I have this rule:
>
>
>
> An event is inserted that has a timestamp in the future, the rule is fired.
> This looks like a bug, because the sliding time window has not yet met the
> timestamp of the event.
> I expect the rule to fire not immediately but only when the time reaches
> the
> event time.
>
> Is my assumption/understanding correct?
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Future-events-tp3826236p3826236.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
>



-- 
  Edson Tirelli
  JBoss Drools Core Development
  JBoss by Red Hat @ www.jboss.com
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to