Is it your post?
laune wrote
for( Rule rule: knowledgePackage.getRules() ){
String ruleName = rule.getName();
org.drools.rule.Rule realRule =
(org.drools.rule.Rule)
((KnowledgePackageImp)knowledgePackage).getRule( ruleName );
String agName = realRule.getAgendaGroup();
}
I wander where the knowledgePackage coming from. I am in
beforeActivationFired method, how can I get knowledgePackage in this method?
--
View this message in context:
http://drools.46999.n3.nabble.com/How-can-I-get-rule-s-agenda-group-name-...
Sent from the Drools: User forum mailing list archive at
Nabble.com.