[rules-users] firing rules twice in single session on single object
LStampf
Lukas.Stampf at gmx.at
Wed Oct 17 08:45:42 EDT 2012
I think what you need is the modify() statement as defined here:
http://docs.jboss.org/drools/release/5.5.0.Beta1/drools-expert-docs/html/ch04.html
When changing a fact within a modify() you trigger a reevaluation of the
fact ,which can lead to rules firing again if they fit the modified object.
Be sure to have a fitting abort condition or you may enter an endless loop.
kind regards
Lukas
--
View this message in context: http://drools.46999.n3.nabble.com/rules-users-firing-rules-twice-in-single-session-on-single-object-tp4020220p4020328.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
More information about the rules-users
mailing list