[rules-users] Problem with Collection

Wolfgang Laun wolfgang.laun at gmail.com
Sat Apr 12 10:11:11 EDT 2014


On 12 April 2014 12:57, mohanm <mohanm.eee at gmail.com> wrote:

> 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.


I still don't see a good reason for waiting and doing a collect.
-W



> 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.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140412/19cb702a/attachment-0001.html 


More information about the rules-users mailing list