e.g. add an ID field to Person that is incremental in value on subsequent &quot;people&quot;<br><br>person1: Person( $firstName1: firstName, $id : id )<br>
 person2: Person( firstName != $firstName1, id &gt; $id )<br><br>This ensures only one match of person1 and person2 will occur, not person2 and person1.<br><br><div class="gmail_quote">On 29 March 2012 12:43, arup <span dir="ltr">&lt;<a href="mailto:arup4u2007@gmail.com">arup4u2007@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi laune<br>
Thanks for the solution. but i am confused a bit with point (b).<br>
how to add a constraint asserting an ordering between Persons in drl. sorry<br>
it may seem silly Qs but i&#39;m new to drools and really want to know that. Can<br>
u explain in detail. Thanks again for the solution.<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/drl-execution-problem-tp3866929p3867432.html" target="_blank">http://drools.46999.n3.nabble.com/drl-execution-problem-tp3866929p3867432.html</a><br>

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