I set
session.getAgenda().getAgendaGroup("group1").setFocus();
session.getAgenda().getAgendaGroup("group2").setFocus();
and only group1 rule fires, but when I set
session.getAgenda().getAgendaGroup("group2").setFocus();
session.getAgenda().getAgendaGroup("group1").setFocus();
both group1 and group2 rules are fired.
It looks like setfocus internally is adding to the stack "in the order in
which it is called."
It would be nice to have a addfocus instead that doesn't jeopardize the
intention of the developer.
--
View this message in context:
http://n3.nabble.com/Understanding-agenda-group-doesn-t-work-as-documente...
Sent from the Drools - User mailing list archive at
Nabble.com.