[rules-users] "Negative" Rules

Ansgar Konermann ansgar.konermann at googlemail.com
Thu Dec 16 18:34:11 EST 2010


On 15.12.2010 10:01, Diego San Esteban wrote:
> Greetings,
>   
> How is  itpossible to implement a  "rollback"in  theKB?
>
> Suppose  that when retracting  a  fact,I  want toundo the  changes  made.
>    

A very simple, yet effective solution would be to exclusively use 
insertLogical(). No updates to facts which are already asserted, no 
normal "insert".

Best regards

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


More information about the rules-users mailing list