[rules-users] How to fire rules of a specific rule file from ChangeSet

Wolfgang Laun wolfgang.laun at gmail.com
Tue Aug 21 10:36:36 EDT 2012


On 21/08/2012, Rana <ven12344 at yahoo.com> wrote:
> Ok, for my rule files, the facts for all the rules are same. That is the
> problem. I guess I have to merge everything into one rule file.

I don't see the reason why this should be so.

>
> So can a rule have multiple agenda Group, something like this.
>
> rule
>   agenda-group A,B,...

No, not possible.


>
> Can I activate rules manually from the rule file. From other rule I will
> activate the Activation Group A from there.
>
> rule
>   activation-group A
>   when
>     //conndition
>   then
>     ///
> end
>
>
> Because I have a business requirement, that puts a rule into multiple
> agenda-group or activation-group.

You can't have such a "business requirement", sinc agenda or
activation groups are a technical feature, and it would be an error to
put this in a "business requirement". Stop thinking in "groups" - what
is the requirement really?

-W


>
> Thanks.
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/How-to-fire-rules-of-a-specific-rule-file-from-ChangeSet-tp4019282p4019305.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>


More information about the rules-users mailing list