Is there a way to maybe annotate rules so my server side application can interpret this annotation as inheritance flag or something?
Sent from my iPhone On Mar 5, 2010, at 11:09 AM, malkhafaji <moe.alkhaf...@medcpu.com> wrote: > > Hello, > > I know, from searching this forum and posting before, that the > concept of > inheritance does not exist today in Drools. However, I have a need > for it. > Here is my specific situation: > > I have certain rules that have some generic conditions to be fired: > > Rule 1 > If A Then X end > > Rule 2 > If A, B Then Y end > > What I would like to do is, if Rule 2 is true, then I don't want > Rule 1 to > execute. I have many and many of those rules, so combining all the > conditions in less number of rules violates our design having rules > being > mutually exclusive. That is why I wanted to include this behavior as a > natural inheritance behavior rather than forcing the flow with logic > inside > the rule itself (you will make rules aware of others this way). > > So, since there is not built-in feature that allows you to do that, do > people suggest anything that I can do without having to mix Rule 1 > and Rule > 2 into one rule with complex conditional statements? Any ideas? > > The only thing I can think of is taking this logic processing > outside of > drools, which is something that I am not too excited about. > > Thanks. > > -- > View this message in context: > http://n3.nabble.com/Inheritance-Like-Design-Question-tp430848p430848.html > Sent from the Drools - User mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users _______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users