<br>&nbsp;&nbsp; Yes, please post a JIRA for that.<br><br><div><span class="gmail_quote">2007/8/22, Arjun Dhar &lt;<a href="mailto:dhar_ar@yahoo.com">dhar_ar@yahoo.com</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Test case:<br><br>Write a Rule that uses a From clause and on another object does not use a from<br>clause:<br>example:<br>#From row number: 28<br>rule &quot;Rules_28&quot;<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;when<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cntct: Contact(initialized==true)
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;config: BooleanConfiguration(value==true) from<br>meta.getConfiguration(cntct.getClient(), &quot;Param1&quot;)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pref: Relation(contact==cntct, type==&quot;old&quot;) or (eval<br>(false==true)&nbsp;&nbsp;and not Relation(contact==cntct, origin==&quot;old&quot;))
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.out.println(&quot;Fired 28&quot;);<br>end<br><br>If All 3 are true:<br> 1. Delete Condition 2 --&gt; Rule fires<br> 2. Delete COnditon 3 (But keep 2) --&gt; Rule fires
<br> 3. Keep 2 &amp; 3 (with 1) --&gt; Rule does not fire<br><br>Whats strage is that conditon 1 does not use from and it works with condition 2<br>without any problem, but when 2 &amp; 3 are there together the rule does not work.
<br><br>Please see if it is a bug<br>Am posting on JIRA<br><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">https://lists.jboss.org/mailman/listinfo/rules-users</a><br></blockquote></div><br><br clear="all"><br>-- <br>&nbsp;&nbsp;Edson Tirelli<br>&nbsp;&nbsp;Software Engineer - JBoss Rules Core Developer
<br>&nbsp;&nbsp;Office: +55 11 3529-6000<br>&nbsp;&nbsp;Mobile: +55 11 9287-5646<br>&nbsp;&nbsp;JBoss, a division of Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a>