[rules-users] Problem with Collection

mohanm mohanm.eee at gmail.com
Sat Apr 12 06:57:59 EDT 2014


Hi laune,

Number of facts inserted into the working memory will be high at times.
Events are facts for us. After first fact matching condition in the working
memory, we want to wait for few seconds  to collect similar facts and do an
action on that. when we changed any attribute on the facts in the
collection, the collection got refreshed.

I tried copying the Collection to another Arraylist in java code, it didnt
work properly. I will try as per your suggestion to do in the RHS of the
rule.

Is there a way to change the attributes of the facts in the collection and
then update all the facts belonging to particular class.

Thanks for your reply and suggestion.

Mohan



--
View this message in context: http://drools.46999.n3.nabble.com/Problem-with-Collection-tp4029219p4029222.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list