If you are using OR between patterns you can create two different rules, and then you know what rule was fired.
That's the internal behavior of Drools when it finds an OR.


On Sun, Jan 10, 2010 at 4:59 AM, orchid <maya.pollack@gmail.com> wrote:

Hi All,

I wonder whether Drools (I'm using version 5.x) has functionality to display
the rational of a rule that was fired. I mean: if my rule is as following:

Rule "rule1"
 when
  A || B
 then
  C

and the rule was fired because B part was true, can I point out that the
rule was fired becuase of part B?

I hope my cumbersome question is understood :-)

Thanks in advance.
--
View this message in context: http://n3.nabble.com/Show-the-rational-of-rule-that-was-fired-tp115710p115710.html
Sent from the Drools - User mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users



--
- http://salaboy.wordpress.com
- http://www.jbug.com.ar
- Salatino "Salaboy" Mauricio -