Rules that are not in any explicit user-defined Agenda Group belong
implicitly to the MAIN Agenda Group which is the last Agenda Group to
trigger activations when all others have completed. Provided ALL of your
rules belong to an explicit Agenda Group you should be able to
setFocus(...) to Group A on the WM before fireAllRules() which would
then setFocus(...) to Group B in the RHS causing this other group to
activate. As no rules are in MAIN then they will not activate by
default. Have a read about Agenda Groups in the docs. Last time I looked
in the source I believe this is how RuleFlow is (was) implemented.

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Thierry B
Sent: 21 January 2009 14:05
To: [email protected]
Subject: Re: [rules-users] Run a set of rules in a group B from a rule
inagroup A


Hello,

But I see that even if I put the focus to a group, he will inevitably
execute rules that doesn't have a group, it's normal?

Thanks :-)

-- 
View this message in context:
http://www.nabble.com/Run-a-set-of-rules-in-a-group-B-from-a-rule-in-a-g
roup-A-tp21580767p21583764.html
Sent from the drools - user mailing list archive at Nabble.com.

_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to