<br> Yes, please post a JIRA for that.<br><br><div><span class="gmail_quote">2007/8/22, Arjun Dhar <<a href="mailto:dhar_ar@yahoo.com">dhar_ar@yahoo.com</a>>:</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 "Rules_28"<br><br> when<br> cntct: Contact(initialized==true)
<br> config: BooleanConfiguration(value==true) from<br>meta.getConfiguration(cntct.getClient(), "Param1")<br> pref: Relation(contact==cntct, type=="old") or (eval<br>(false==true) and not Relation(contact==cntct, origin=="old"))
<br> then<br> System.out.println("Fired 28");<br>end<br><br>If All 3 are true:<br> 1. Delete Condition 2 --> Rule fires<br> 2. Delete COnditon 3 (But keep 2) --> Rule fires
<br> 3. Keep 2 & 3 (with 1) --> 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 & 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> Edson Tirelli<br> Software Engineer - JBoss Rules Core Developer
<br> Office: +55 11 3529-6000<br> Mobile: +55 11 9287-5646<br> JBoss, a division of Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a>