If there are two Result() facts which aren&#39;t identical and you want to<br>match only one in your rule <span style="font-style: italic;"></span>you&#39;ll have to<br>(a) provide a distinguishing restriction<br>(b) use some information saying that the rule has already fired for a certain resultId.<br>
<br>For the latter, you could use the Test fact. Not being sure about the details of the<br>type of resultId I can&#39;t propose the exact code, but it&#39;s similar to the not that&#39;s<br>already there, just using the entire resultId for the test.<br>
<br>-W<br><br><br><div class="gmail_quote">On 8 November 2010 11:16, jc7442 <span dir="ltr">&lt;<a href="mailto:jc7442@yahoo.fr">jc7442@yahoo.fr</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
In fact here I need the two results ... this is the result for the same<br>
computation ... but at different step. So they are attached to the same<br>
test. Here I want to create or reload and existing tests.<br>
<font color="#888888"><br>
<br>
--<br>
View this message in context: <a href="http://drools-java-rules-engine.46999.n3.nabble.com/Same-rules-applies-twice-tp1861724p1861854.html" target="_blank">http://drools-java-rules-engine.46999.n3.nabble.com/Same-rules-applies-twice-tp1861724p1861854.html</a><br>

Sent from the Drools - User mailing list archive at Nabble.com.<br>
</font><div><div></div><div class="h5">_______________________________________________<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>
</div></div></blockquote></div><br>