<br> Dean,<br><br> There are two unrelated things in here... the boolean flag for dynamic facts means your fact supports the property change listeners and you don't need to call modify() when you change an attribute. ShadowFacts are a complete different thing that should be mostly transparent to users. <br>
If you can provide an example, it will be easier to help you.<br><br> []s<br> Edson<br><br><div class="gmail_quote">2009/2/11 J Michael Dean <span dir="ltr"><<a href="mailto:mdean77@comcast.net">mdean77@comcast.net</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I am migrating from 4.07 to 5 and my previous DRL file does not function correctly; I previousliy inserted facts with the dynamic Boolean set true. I understand that this is no longer done because shadow facts are "not needed" in Drools 5, but is it necessary to do anything different in the RHS when modifying facts? My fact POJOs have a method for adding text to themselves. I believe my rules are not working properly because nothing is being modified - only the initial activation set fires and then nothing happens.<br>
<br>
Restated, the documentation talks about how to "avoid" shadow facts in Drools 4.07 - are the restrictions in this part of the docs necessary in Drools 5?<br>
<br>
Thanks.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">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>
</blockquote></div><br><br clear="all"><br>-- <br> Edson Tirelli<br> JBoss Drools Core Development<br> JBoss, a division of Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a><br>