Requirement:
1)
Rule
When
Person.address.address1 is changed
THEN
2) Ideally we should have 2 objects, 1 for the old person instance, the
other for the new person instance so contextually the LHS equals to
oldPerson.address.address1 != newPerson.address.address1.
A properties change listener might not be the best solution as it might span
multiple calls and the property change could be done on the web layer which
is out of the JBoss Drools knowledge session.
Ivan
--
View this message in context:
http://drools.46999.n3.nabble.com/How-to-write-Drools-rule-basing-on-a-ch...
Sent from the Drools: User forum mailing list archive at
Nabble.com.