<br>&nbsp;&nbsp; Daniel,<br><br>&nbsp;&nbsp; I think what you are trying to achieve requires some careful planning. If you use the repository, you have a versioned rule base that make sure you don&#39;t lose your working memory.<br>&nbsp;&nbsp; Although, without the repo, only thing I can think of is you making sure your application always loads the wm into memory, perform the rules replacement (adding/removing rules), so the working memory gets properly updated, and then serializes your wm back to the database.... did you tried that?
<br><br>&nbsp;&nbsp; []s<br>&nbsp;&nbsp; Edson<br><br><br><div><span class="gmail_quote">2007/6/14, Daniel E Chapman &lt;<a href="mailto:dechapma@us.ibm.com">dechapma@us.ibm.com</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<br><font face="sans-serif" size="2">Hello!</font>
<br>
<br><font face="sans-serif" size="2">We found a problem with the interaction
of a serialized working memory and updates to the rules. </font>
<br>
<br><font face="sans-serif" size="2">Our process involves serializing the
working memory to a database. &nbsp;Later, when we load the serialized
version of the working memory back from the database, if we&#39;ve updated
the rules it will detect that fact and it will throw away our carefully
preserved working memory. &nbsp;We suspect this is because the working
memory maintains a reference to the rules as they were when the working
memory is originally serialized.</font>
<br>
<br><font face="sans-serif" size="2">I&#39;m wondering if there is some way to
accomplish what we&#39;re trying to do, either a way to serialize the working
memory with no reference to the rules or some way to have the working memory
update to accomodate any changes to the rules that may have occurred since
it was serialized.</font>
<br>
<br><font face="sans-serif" size="2">I know that some other rules engines,
such as FairIsaac&#39;s Blaze engine, have complex schemes where you can have
versioned rules in a repository and update the rules in that fashion. &nbsp;I&#39;m
not sure that we&#39;re trying to do anything quite so complex, just a way
to occasionally push out a new version of our rules without having to lose
all of the work we&#39;ve done to the working memory in the past.</font>
<br>
<br><font face="sans-serif" size="2">(There may come a time where we may
intend for the working memories to be cleared out, but I think we can do
that in a manual fashion when the time comes.)</font>
<br>
<br><font face="sans-serif" size="2">Thanks for your time, hopefully there&#39;s
an easy answer!</font>
<br>
<br><br>_______________________________________________<br>rules-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a onclick="return top.js.OpenExtLink(window,event,this)" href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br><br></blockquote></div><br>
<br clear="all"><br>-- <br>&nbsp;&nbsp;Edson Tirelli<br>&nbsp;&nbsp;Software Engineer - JBoss Rules Core Developer<br>&nbsp;&nbsp;Office: +55 11 3529-6000<br>&nbsp;&nbsp;Mobile: +55 11 9287-5646<br>&nbsp;&nbsp;JBoss, a division of Red Hat @ <a href="http://www.jboss.com">
www.jboss.com</a>