<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Sikkandar Nawabjan wrote:
<blockquote
 cite="mid:CD08246E5BBE464D96B2F5E8C00C7FA401CC1620@TRVMSG.ustr.com"
 type="cite">
  <meta http-equiv="Content-Type" content="text/html; ">
  <meta content="MSHTML 6.00.2900.3157" name="GENERATOR">
  <div id="idOWAReplyText63107" dir="ltr">
  <div dir="ltr">&nbsp;</div>
  <div dir="ltr"><font color="#000000" face="Arial" size="2">Hi,</font></div>
  <div dir="ltr"><font face="Arial" size="2">&nbsp;I Have 2 types of objects
say</font></div>
  <div dir="ltr">&nbsp;</div>
  <div dir="ltr"><font face="Arial" size="2">AObject1(effdate,terminationdate,status=active)</font></div>
  <div dir="ltr"><font face="Arial" size="2">
  <div dir="ltr"><font face="Arial" size="2">AObject2(effdate,terminationdate,status=inactive)</font></div>
  <div dir="ltr">
  <div dir="ltr"><font face="Arial" size="2">AObject3(effdate,terminationdate,status=active)<br>
etc...</font></div>
  </div>
  </font></div>
  </div>
</blockquote>
you should find enough to get starte here:<br>
<a class="moz-txt-link-freetext" href="http://web.mac.com/johndunning/Life_on_a_Laptop/Drools/Entries/2007/10/7_Banking_on_DROOLS.html">http://web.mac.com/johndunning/Life_on_a_Laptop/Drools/Entries/2007/10/7_Banking_on_DROOLS.html</a><br>
<br>
there is a documented version of this in the 4.0.3 manual, called the
banking tutorial.<br>
<blockquote
 cite="mid:CD08246E5BBE464D96B2F5E8C00C7FA401CC1620@TRVMSG.ustr.com"
 type="cite">
  <div id="idOWAReplyText63107" dir="ltr">
  <div dir="ltr"><font face="Arial" size="2">
  <div dir="ltr">&nbsp;</div>
  <div dir="ltr">BObject(effectivedate,id)</div>
  <div dir="ltr">&nbsp;</div>
  <div dir="ltr">i want to check such a way that BObject's effective
date should be fall within a range of AObjects(list of
AObjects)&nbsp;miniumeffectivedate and maximumterminationdate when its
status Active.</div>
  <div dir="ltr">&nbsp;</div>
  <div dir="ltr">How to write a rule for that</div>
  <div dir="ltr">&nbsp;</div>
  <div dir="ltr">Thanks and Regs,</div>
  <div dir="ltr">Basha</div>
  </font></div>
  </div>
  <div id="idSignature48507" dir="ltr">
  <div>&nbsp;</div>
  <div>&nbsp;</div>
  </div>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
  </pre>
</blockquote>
<br>
</body>
</html>