[rules-users] "Negative" Rules

Diego San Esteban diego.sanesteban at coremain.com
Wed Dec 15 04:01:59 EST 2010


Greetings,
 
How is it possible to implement a "rollback" in the KB?


Suppose that when retracting a fact, I want to undo the changes made.


Writing a negative (opposite) rule isn't efficient, it means declaring the
rule twice effectively. Also the negative rule is usually using lots of OR's
and NOT's which isn't fast.


Any help?

Thanks

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20101215/b56e283b/attachment.html 


More information about the rules-users mailing list