On 24 July 2011 14:21, Andre <morpheusandre@web.de> wrote:
cause if i would know that there hasnt been a change in the count of, for
example, A.A,  it shouldnt fire,

that leads me to the next question: is an accumulate function excuted by
more than one thread ?


If there is more than one thread inserting facts, then:  yes.
-W
 
it rises if you think of storing such information in the context of the
accumulate function directly.  like a semaphore, which  signals that this
entry has already caused something fired

in the example:
 the rule 1 accumulates over attributes of incoming objects  (A.A) and also
sets a flag if an entry has been changed (count ++)

--
View this message in context: http://drools.46999.n3.nabble.com/evaluating-different-aspects-of-the-same-event-tp3191232p3195093.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