Kindly supply precise requirements, e.g., what defines "the set of
participating events", and what *exactly* needs to be done. For
instance, checking the quantity of each event against the threshold
is the simple case - it may be sufficient to write
when ... $threshold: ....
$event: Event( quantity > $threshold )
then
That's all I can say, given the lack of information.
-W
On 25/09/2012, thano <asimoon(a)gmail.com> wrote:
The questions you raised are the reason that I am still not confident
on
what
I have done. The pattern I tried to define is very simple but I need to
some
how use events per time unit contributing to this threshold ( as you
highlighted). I am struggling to design a pattern that is applied on the
set
of participant events. The result is then compared to a threshold value.
could you please make some suggestion regarding my example to incorporate
events. I have to consider the same example but I am willing to make
adjustments or changes.
thank you very much for your help
--
View this message in context:
http://drools.46999.n3.nabble.com/Pattern-Example-tp4019946p4019954.html
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users