[rules-users] modify and update is not working in the rule file

Rana ven12344 at yahoo.com
Fri Aug 17 09:56:08 EDT 2012


ok, thank you so much for your help. It works. Thanks.

But one tough question for you.

How can I know what was the reason a rule condition failed. Lets say

rule
  when
     test( a == "b" )
  then
     //consequence
end

I want to know what caused the condition a=="b" to fail was the value of a
is "b" or anything else. and I need to log this to a log file.

Somebody told me that Verifier does the trick, but we need to add some
custom rules to get to the values. I tried to google lot on this. But I
never got anything which do what I want to do.

Please help me on this.

Thanks.



--
View this message in context: http://drools.46999.n3.nabble.com/modify-and-update-is-not-working-in-the-rule-file-tp4019158p4019245.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list