[rules-users] Roll Back Rule / Rule Transactions?

Andrew Thompson andyjbs at yahoo.com
Tue Feb 13 15:50:35 EST 2007


Probably you want to make sure you understand the difference between assert() and assertLogical() and see if that will meet your needs.
 
--
Andrew Thompson

----- Original Message ----
From: Matt Johnston <MJohnston at pubgroup.com>
To: rules-users at lists.jboss.org
Sent: Tuesday, February 13, 2007 11:20:35 AM
Subject: [rules-users] Roll Back Rule / Rule Transactions?

I am working on rules for an online shopping cart. Depending on the
products in the cart, the customer may get certain discounts.

If cart contains a TV, add a free VCR.

I can apply these rules, but what about rolling them back? 

So in the example above, the rule automatically added a free VCR because
the cart contained a TV. If the customer removes the TV, I need to roll
back the VCR rule and also remove the VCR from the cart.

Does anyone know how to do this? Is it possible?

Matt Johnston
Manager of Internet Content
Publishing Group of America
p: 615-468-6053
f: 615-468-6153

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





 
____________________________________________________________________________________
Sucker-punch spam with award-winning protection. 
Try the free Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/features_spam.html




More information about the rules-users mailing list