[rules-users] Doubt over Agenda-Group

swaroop swaroop.oggu at gmail.com
Fri Feb 3 07:18:19 EST 2012


Hi,

Iam invoking a template from a rule using agenda-group setfocus. My doubt is
,after focusing and executing the template based on the agenda-group where
will the rule control fall back to.

Eg:

Rule 1
ruleflow-group "RF1"
WHEN
c : someFact(someCond)
THEN
kcontext.getKnowledgeRuntime().getAgenda().getAgendaGroup("AG1").setFocus();
Do something1
Do Something2 based on some actions set in template invoked through
agenda-group
END

Rule 2
ruleflow-group "RF1"
WHEN
c : someFact(someCond1-->someCond1 is based on the parameters set in
template called in prev rule)
THEN
Do Something3 
END

What should be the flow of events after rule 1 execution ? 


Thanks
Swaroop

--
View this message in context: http://drools.46999.n3.nabble.com/Doubt-over-Agenda-Group-tp3712867p3712867.html
Sent from the Drools: User forum mailing list archive at Nabble.com.



More information about the rules-users mailing list