[rules-users] how to sort and validate

Mark Proctor mproctor at codehaus.org
Wed Oct 31 03:05:55 EDT 2007


Sikkandar Nawabjan wrote:
>  
> Hi,
>  I Have 2 types of objects say
>  
> AObject1(effdate,terminationdate,status=active)
> AObject2(effdate,terminationdate,status=inactive)
> AObject3(effdate,terminationdate,status=active)
> etc...
you should find enough to get starte here:
http://web.mac.com/johndunning/Life_on_a_Laptop/Drools/Entries/2007/10/7_Banking_on_DROOLS.html

there is a documented version of this in the 4.0.3 manual, called the 
banking tutorial.
>  
> BObject(effectivedate,id)
>  
> i want to check such a way that BObject's effective date should be 
> fall within a range of AObjects(list of AObjects) miniumeffectivedate 
> and maximumterminationdate when its status Active.
>  
> How to write a rule for that
>  
> Thanks and Regs,
> Basha
>  
>  
> ------------------------------------------------------------------------
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20071031/3f219d1b/attachment.html 


More information about the rules-users mailing list