Thanks Esteban,<br><br>Noticed that if I have an employee with the list of addresses and update an attribute of the address item in the list, modify does not work and the update needs to be called explicitly on the Employee to take effect. Is this expected.<br>
<br><br><br><div class="gmail_quote">2011/7/14 Esteban Aliverti <span dir="ltr">&lt;<a href="mailto:esteban.aliverti@gmail.com">esteban.aliverti@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
No matter the ruleflow-group,  all your rules are running in the same session. If you modify the attributes of a fact, you must notify it to the session (if you want to make inference with this new value). <div>For doing so you can use update() or modify(), they will have the same result.  <div>


<br></div><div>Best regards,</div><div><br>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br><br>Esteban Aliverti<br>- Developer @ <a href="http://www.plugtree.com" target="_blank">http://www.plugtree.com </a><br>- Blog @ <a href="http://ilesteban.wordpress.com" target="_blank">http://ilesteban.wordpress.com</a><br>



<br><br><div class="gmail_quote">2011/7/13 Wishing Carebear <span dir="ltr">&lt;<a href="mailto:wishing.carebear@gmail.com" target="_blank">wishing.carebear@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


modify</blockquote></div><br></div></div>
<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>
<br></blockquote></div><br>