[rules-users] How to aggregate decisions of multiple rules?? (In Guvnor)

Michael Anstis michael.anstis at gmail.com
Thu Aug 5 04:13:07 EDT 2010


I am a little confused by what you are saying; could you please clarify?

Do you insert a new "decision" object in working memory from each rule; and
then you need another rule operating on "decision" objects of a certain
categorisation? The formatting of your email did not lend itself well to
understanding your enquiry.

Thanks,

Mike

On 5 August 2010 06:34, bbarani <bbarani at gmail.com> wrote:

>
> Hi,
>
> We have multiple rules defined in Guvnor and we fire all the rules at a
> time. There is a decision object set for each rule and I am trying to
> figure
> out a way to aggregate the result using the prirority of the decision
> object
> (kind of logical AND / OR)
>
> For Ex: The priority of the decision would be set as below
>
> Priority:
>
> Priority3              Priority2                    Priority1     Exception
> on any rule
> Granted   Action not Supported  Denied          Deferred
>
> After the rules are fired (I am considering 4 rules here) the final
> decision
> should be as follows
>
> Sample Rule result:
>
> Rule    Rule1   Rule2   Rule3                                Rule4
> FinalDecison
> Decisions       Granted Granted Granted                            Deferred
> Deferred
>        Granted Granted Action Not Supported      Granted
>     Action Not
> Supported
>        Granted Granted Denied                             Granted
> Denied
>        Granted Granted Granted                             Granted
> Granted
>
>
> Is there a way to acheive this using rule flow group / any other simple
> way?
>
> Thanks,
> Barani
>
>
>
>
>
> --
> View this message in context:
> http://drools-java-rules-engine.46999.n3.nabble.com/How-to-aggregate-decisions-of-multiple-rules-In-Guvnor-tp1025115p1025115.html
> Sent from the Drools - User mailing list archive at Nabble.com.
> _______________________________________________
> 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/20100805/33f0f4df/attachment.html 


More information about the rules-users mailing list