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@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@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users