If there are two Result() facts which aren't identical and you want to
match only one in your rule you'll have to
(a) provide a distinguishing restriction
(b) use some information saying that the rule has already fired for a
certain resultId.
For the latter, you could use the Test fact. Not being sure about the
details of the
type of resultId I can't propose the exact code, but it's similar to the not
that's
already there, just using the entire resultId for the test.
-W
On 8 November 2010 11:16, jc7442 <jc7442(a)yahoo.fr> wrote:
In fact here I need the two results ... this is the result for the same
computation ... but at different step. So they are attached to the same
test. Here I want to create or reload and existing tests.
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Same-rules-applies-tw...
Sent from the Drools - User mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users