On 15 November 2010 11:56, Anais Martinez <amartinez@iti.upv.es> wrote:

I'm using Drools for a system of alarms on agriculture. I am considering
several parcels, whose plants can be on different status (for example,
sprouting, flowering, etc.). These statuses are updated automatically by
rules, controled by several calendars. In the other hand, the farmer is
allowed to change the plants' status by hand if he/she observes that real
plants are in a status in the terrain.

If the farmer set the status before the automatic change, there is no
problem: the rules corresponding to the new state become active and the
automatic change has no effect. But if the farmer changed the status after
the automatic change, how would  I consider the events in the period of time
between automatic and hand changes?

Please explain the last sentence in more detail. I don't quite see where the problem
lies. If the automatic change occurs, does this trigger any rule? Are there rules
that should be triggered by the subsequent manual change? Which events arrive
between automatic and hand change?

-W

 

Thanks in advance.
--
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Reasoning-with-past-events-tp1903815p1903815.html
Sent from the Drools - User mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users