I have a bugging problem, I will try to explain it...
We need to store rules into the databse ...
example
Rule 1 says : if the name of a person = 'A' , age is > 20 , state ='YSA' the execute procedure1
Another rule says
Rule 2 : if the name of a person = 'A' , age is > 20 the execute procedure2
Now if we try to save a person record as follows
Name ='A' and age = 23 then both the rules would be executed.
Now my problem, there could be hundreds of such rules, so when I save the person record, how do I find which rule to be applied
What is the best optimum method to store these rules in the database and what is the best solution to find which rule to be applied..
Please note that these are not the only parameters that could be there in the rules...
- Re: defining rules prem
- Re: defining rules Jared Still
- Re: defining rules Yechiel Adar