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(a)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(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users