[rules-users] How to create nested rules in Drool Guvnor
malkhafaji
moe.alkhafaji at medcpu.com
Thu Jan 7 15:49:19 EST 2010
Marc Dzaebel wrote:
>
> Correction: extends works but is obviously undocumented. It adds the when
> part of the extended rule.
>
Is the support for this keyword removed from the current version (in trunk)?
This is the first time I am trying to use 'extends' in my rules but I cannot
find ANYTHING in the documentation about it, and I have spent at least an
hour searching this forum about it and it seems like everybody is saying
that it should work to just do:
rule "Rule 2"
when
blah
then
blah
end
rule "Rule 1" extends "Rule 2"
when
blah
then
blah
end
But eclipse does not recognize "extends" as a valid keyword. Am I missing
something?
--
View this message in context: http://n3.nabble.com/How-to-create-nested-rules-in-Drool-Guvnor-tp61446p113101.html
Sent from the Drools - User mailing list archive at Nabble.com.
More information about the rules-users
mailing list