[rules-users] Howto obtain collection of all matched events in rule

Wolfgang Laun wolfgang.laun at gmail.com
Mon Sep 30 10:05:14 EDT 2013


Have you considered "accumulate" and "from collect"? Or perhaps I
misinterpreted the question...?
-W

On 30/09/2013, IK81 <ml at kofler.me> wrote:
> Dear all,
>
> I am looking for a convenient way to obtain all events that lead to the
> firing of the rule in the then-part of a rule. I know that I can build
> this collection by explicitly creating a collection and adding all the
> events listed in the when part, but I am looking for something more
> convenient.
>
> I already discovered that one can access this information in the
> beforeMatchFired event through getMatch().getObjects(), but I need to
> access this in the then-part of the rule. How do I obtain the match
> object there?
>
> Best regards,
> Ingo
>
>
> _______________________________________________
> 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