<br><br><div class="gmail_quote">On 26 July 2011 22:47, kirkm <span dir="ltr">&lt;<a href="mailto:kirkmster@gmail.com">kirkmster@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
I have an application that is inserting a fact object into a session.  The<br>
object has a collection in it that is being iterated and each of the<br>
individual children objects is being inserted into the session with a<br>
reference back to their &quot;parent&quot; object. The child facts cause other rules<br>
to fire and the children objects are updated in some situations. Is there<br>
any way to determine if all the rules have fired due to the children<br></blockquote><div><br>&quot;All the rules&quot; for each child? &quot;All the rules&quot; for the children summarily?<br><br>But the answer is: &quot;Yes, if you keep track of rule firings.&quot;<br>
a) by making &quot;notches&quot; in the parent<br>b) by inserting separated objects<br>c) ...<br><br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

insertions? The desired result is to have a parent object with possible<br>
updates to the children for further processing.<br>
<br>
Can and should an accumulator be used instead of the inserting the child<br>
objects?<br></blockquote><div><br>Probably not, since you wrote &quot;desired result...for further processing&quot;.<br>-W<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<br>
Kirk<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Processing-a-collection-within-a-fact-object-tp3201532p3201532.html" target="_blank">http://drools.46999.n3.nabble.com/Processing-a-collection-within-a-fact-object-tp3201532p3201532.html</a><br>

Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</font></blockquote></div><br>