Could be a basic question, but thought I should get clarified.

I insert a fact say, a Computer object with some attributes ( hdd=10GB ) set, in working memory. Then I have a rule that checks if a Computer with 10GB hdd is inserted .. if yes, then it does a logicalInsert of an Alert object with computerId = this computer’s id.

Now I would like to re-insert the same fact with HDD changed to ‘20gb’ and would like drools to automatically retract the Alert for this computerId .. how do I achieve this ?

-abhay

 

 


This message contains information that may be privileged or confidential and is the property of the KPIT Cummins Infosystems Ltd. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. KPIT Cummins Infosystems Ltd. does not accept any liability for virus infected mails.