Katvik what are you trying to achieve by realizing your goal? I'm curious to know the context.

On Mon, Jan 28, 2013 at 2:03 PM, Wolfgang Laun <wolfgang.laun@gmail.com> wrote:
You've got to realize that evaluation proceeds according to the patterns on a rule's LHS. Clearly, if a rule fires, all of your conditions are true. I assume that this isn't the only answer you expect. - Let's look at a simple example in DRL:

   One( a == x )
   Two( b == y )
   Three( c == z )

If this rule doesn't fire, two out of these three conditions may be true, or each of them, singularly. If you need to know which pairs and which singletons, you'll have to write individual rules for One, Two, Three and all pairs, i.e., One+Two, One+Three, Two+Three - not very attractive.

You might get more information about the state of your facts by writing the singleton rules, do an insertLogical of an auxiliary fact representing the truth of its LHS, and proceed from there. (...)

I can't recall any requirement quite like yours; usually it's the negative form, when people want to know which constraint causes a rule not to fire.

A more detailed description of your actual requirements might help, but decision tables may not be the right vehicle for your kind of problem.

-W



On 26 January 2013 05:52, katvik <katvik@hotmail.com> wrote:
Hi,

We are using decision table in our application and I need to capture the
results of the evaluation of every condition of a rule. Is it possible?

Thank you.



--
View this message in context: http://drools.46999.n3.nabble.com/Capturing-condition-constraint-evaluation-results-tp4021831.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users




--
Grant Rettke | ACM, AMA, COG, IEEE
grettke@acm.org | http://www.wisdomandwonder.com/
Wisdom begins in wonder.
((λ (x) (x x)) (λ (x) (x x)))