In general, I write rules for events that by value (attribute values) can occur at any time in a row (every second). I want to run rules for consistent events on an hourly basis only.
In more detail: I want to run a rule when the event was inserted for the first time (does not exist yet) OR when the event is inserted, and if and only if equal events are already inserted into the working memory, BUT the newest of them is at least one hour ago old.
What is a reasonable way to write such a rule if the duration of the events is 24H?
source
share