Re: [rules-users] correlating two collects

2007-08-04 Thread Yuri de Wit
Hi Edson, A follow up question just came up: I not only need to collect Items that share common properties (grouping) but I also want to further filter the collect by selecting only the ones that dont have a related fact. Just to exemplify, here is what my rule would look like if I were trying t

Re: [rules-users] correlating two collects

2007-08-02 Thread Edson Tirelli
Yury, Correlation can happen in many ways, but I would say your general approach is correct. Answering your questions: 1. Both collect and accumulate work (as it is today) on single patterns. This means whenever you are using collect, you could be using accumulate. Just have in mind that

[rules-users] correlating two collects

2007-08-01 Thread Yuri de Wit
I am finally having some time to use collects. What I basically need to do is to collect items from a list using a specific criteria, then collect items from a diff list using another criteria, and finally compare the groups collected using a 3rd criteria Here is what I am thinking: i : Item(type