[rules-users] "Negative" Rules

Wolfgang Laun wolfgang.laun at gmail.com
Wed Dec 15 05:43:10 EST 2010


Have you looked at insertLogical()?

"Changes made" is a very general term, could be anything...
-
-W


2010/12/15 Diego San Esteban <diego.sanesteban at coremain.com>

>  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
>
>
>
> _______________________________________________
> 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/20101215/b98b633e/attachment.html 


More information about the rules-users mailing list