If rules in different groups are unrelated with each other, you can write
them in different packages or build them in different snapshots using custom
Selectors. Then, according to the user input, you can create your kbase
using just the packages/snapshots you need.
If you don't want to create a kbase over and over again, you can create some
kind of cache.
If the agenda-group solution works for you, but you don't want to modify the
generated DRLs, you still can use the Guided Editor (if that is what you
call Guvnor UI) to set this attribute to your rules using the "show
options..." link at the bottom of each rule.
Best,
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Esteban Aliverti
- Developer @
http://www.plugtree.com
- Blog @
http://ilesteban.wordpress.com
On Wed, Sep 1, 2010 at 5:54 AM, Swapnil Sawant <
Swapnil.Sawant(a)lntinfotech.com> wrote:
I have created certain rules in Guvnor. Now , I want to group them into
different groups say grp1,grp2 etc
And then, depending upon input from my application(via fact type) as I wish
to fire rules from a particular Rule Group(or you can say fire that
particular Rule Group).
And I wish to achieve this grouping via Guvnor GUI and not by writing DRL
files(i.e. by explicitly writing agenda-group in DRL) as I have rules in
place which I have created using Guvnor GUI.
Thanks,
Swapnil Sawant
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Grouping-of-rules-in-...
Sent from the Drools - User mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users