[rules-users]Agenda group vs activation group

Mark Proctor mproctor at codehaus.org
Mon Apr 2 10:06:59 EDT 2007


agenda-group 
http://labs.jboss.com/file-access/default/members/jbossrules/freezone/docs/3.0.6/html_single/index.html#d0e1688
activation-group 
http://labs.jboss.com/file-access/default/members/jbossrules/freezone/docs/3.0.6/html_single/index.html#d0e1712

agenda-groups are used to partition your rule execution, where as 
activation-groups are used to make sure only one rule out of a set of 
rules fires.

Mark
Sikkandar Nawabjan wrote:
> Hi,
> What is the difference between agend-group and activation-group.
> where to use activation group......
> please provide some examples
> Thanks and Regs,
> Basha
>
> ------------------------------------------------------------------------
> *From:* Sikkandar Nawabjan
> *Sent:* Thu 3/29/2007 11:11 AM
> *To:* rules-users at lists.jboss.org
> *Subject:* RE: [rules-users]The Rule is not working with milestone
>
> **
>
> *Hi,*
>
> *The below rule for dublicate checking is working fine with 3.0.5 but 
> not with milestone version? Is that a problem with milesone?*
>
> *rule* "rule01"
>
> *when*
>
> $provAddress:ProviderAddress( $addType : addressTypeCode, $pPI : 
> primaryPracticeIndicator )
>
> $provAdd:ProviderAddress( addressTypeCode == $addType, 
> $pp:primaryPracticeIndicator == $pPI )
>
> *then*
>
> System.out.println("Hi"+$addType+" "+$pPI+"::"+$pp);
>
> *retract*($provAddress);
>
> **
>
> *end*
>
> * *
>
> *Basha*
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20070402/88310d15/attachment.html 


More information about the rules-users mailing list