[rules-users] How to get correct version of rules based on effective date

Wolfgang Laun wolfgang.laun at gmail.com
Mon Feb 21 04:07:43 EST 2011


There may be one rule to determine the interest rates depending on date and
whatever, and then there should be rules to do the calculation for some type
of deposit (savings, loand,...) with the previously established rate.

Do not replicate calculation rules for various date intervals.

-W


On 21 February 2011 05:36, Faisal Shafique <just_faisal at yahoo.com> wrote:

> Hi,
>
> We are evaluating Drools to replace a big legacy eligibility system in
> government sector. One of the critical requirement is to have the system
> pull correct rule based on a date e.g interest rate was 5% till 12/31/2010
> but changed to 6% from 1/1/2011. If we are running rules in 2010 or before,
> calculation should use 5% else it should use 6%. Rules will run with a user
> clicking a button and results will be shown to user so probably a
> StatelessSession will be used. Something like AgendaFilters to filter rules
> based on a date probably will not be very scalable since over time we'll
> have lot of different temporal version of rules and all of them will have to
> be in KnowledgeBase for AgendaFilter to work which will be memory intensive
> and un-needed.IMHO, we should build KnowledgeBase with correct version of
> rules in the first place. Any ideas or pointers?
>
> Thanks
>
>
>
> _______________________________________________
> 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/20110221/b0b57a25/attachment.html 


More information about the rules-users mailing list