<br><br><div class="gmail_quote">2010/1/25 Mike Dougherty <span dir="ltr">&lt;<a href="mailto:mjdougherty@gmail.com">mjdougherty@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="">Hello Wolfgang,<div><br></div><div>Thank you for the response. However, as I read this documentation this should not be necessary.</div></div></blockquote><div><br>But it is, definitely. Matching and binding a Java object the way you do it in your rule <br>
   property : StatusProperty( ... )<br>will only work if such an object has been inserted.<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style=""><div> Even still, if I try it, it does not seem to help.</div><div><br></div></div></blockquote><div><br>Could you please post your Java code from session creation til fireAllRules(), with all the<br>object creations and inserts?<br>
<br>Even if you insert the StatusProperty objects, your rule may still not fire if you do, for<br>instance, insertion of the TrainingStatus object before you add the StatusProperty<br>objects to the Set&lt;StatusProperty&gt; of the inserted training status!<br>
<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;"><div style=""><div></div><div><br></div><div>Thanks,</div><div>Mike</div><div>
<br></div><div><br></div><div><br><div><div>On Jan 24, 2010, at 9:17 AM, Wolfgang Laun wrote:</div><br><blockquote type="cite"><div class="im">On Sun, Jan 24, 2010 at 8:16 AM, Mike Dougherty <span dir="ltr">&lt;<a href="mailto:mjdougherty@gmail.com" target="_blank">mjdougherty@gmail.com</a>&gt;</span> wrote:<br>
</div><div class="gmail_quote"><div class="im"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
I&#39;m inserting a TrainingStatus object that should match this rule. But the resulting object does not have the nextSection and previousSection fields set to the values they should.</blockquote></div><div><br>Only because you mention the insertion of the TrainingStatus object but not the one(s) of (a) StatusProperty object(s): They should be inserted, too!<br>

<br>-W<br><br></div></div><div class="im"><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>
</div></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>