<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
On 24/05/2011 09:51, Abhay B. Chaware wrote:
<blockquote
cite="mid:371569CBCFB2E745B891DBB88B2DFDDD1A247D349A@KCINPUNHJCMS01.kpit.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 11 (filtered
medium)">
<o:smarttagtype
namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PersonName">
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
<div class="Section1">
<p class="MsoNormal" style=""><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">Could be a
basic question<st1:personname w:st="on">,</st1:personname>
but thought I should
get clarified.<o:p></o:p></span></font></p>
<p class="MsoNormal" style=""><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">I insert a
fact say<st1:personname w:st="on">,</st1:personname> a
Computer object with
some attributes ( hdd=10GB ) set<st1:personname
w:st="on">,</st1:personname> in
working memory. Then I have a rule that checks if a
Computer with 10GB hdd is
inserted .. if yes<st1:personname w:st="on">,</st1:personname>
then it does a
logicalInsert of an Alert object with computerId = this
computer’s id. <o:p></o:p></span></font></p>
<p class="MsoNormal" style=""><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">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 ?</span></font></p>
</div>
</o:smarttagtype></blockquote>
logical insertions are immutable. The act of calling "modify" will
state the fact, losing all justifications.<br>
<br>
Mark<br>
<blockquote
cite="mid:371569CBCFB2E745B891DBB88B2DFDDD1A247D349A@KCINPUNHJCMS01.kpit.com"
type="cite"><o:smarttagtype
namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PersonName">
<div class="Section1">
<p class="MsoNormal" style=""><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;"><o:p></o:p></span></font></p>
<p class="MsoNormal" style=""><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">-abhay<o:p></o:p></span></font></p>
<p class="MsoNormal" style=""><font face="Times New Roman"
size="3"><span style="font-size: 12pt;"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size: 12pt;"><o:p> </o:p></span></font></p>
</div>
<br clear="all">
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.
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
</o:smarttagtype></blockquote>
<br>
</body>
</html>