<p><br>
Am 26.12.2011 18:16 schrieb &quot;Mauricio Salatino&quot; &lt;<a href="mailto:salaboy@gmail.com">salaboy@gmail.com</a>&gt;:<br>
&gt;<br>
&gt; Did you try Guvnor? it already store the snapshots version. So you can<br>
&gt; get the right snapshot for running your rules against an old Loan<br>
&gt; again.<br>
&gt;<br>
&gt; @Ansgar: why do you recommend to not use snapshots?</p>
<p>They change over time, making it more complex to track down the correct version. </p>
<p>I&#39;d preferr a stable loan application &lt;=&gt; rule set association. OTOH, it is probably *possible* to retrieve the correct snapshot version for a loan application if additional metadata is available. It&#39;s just more complicated: metadata needs to be available and sufficient to determine exactly *one* snapshot, snapshot needs to be available (not sure if Guvnor stores all snapshots forever or just a few). </p>

<p>For releases, there is *one* figure you need to know to reference a certain ruleset (the version number). Releases are normally kept forever. Or, at least in my environment, deleting releases is done with extra extra care -if at all-, whereas snapshots older than a week or so get removed automatically on a daily basis.</p>

<p>Best regards, </p>
<p>Ansgar</p>
<p>&gt; Cheers<br>
&gt;<br>
&gt;<br>
&gt; 2011/12/26 Ansgar Konermann &lt;<a href="mailto:ansgar.konermann@googlemail.com">ansgar.konermann@googlemail.com</a>&gt;:<br>
&gt; &gt;<br>
&gt; &gt; Am 26.12.2011 18:08 schrieb &quot;Celso Junior&quot; &lt;<a href="mailto:celsogbj@gmail.com">celsogbj@gmail.com</a>&gt;:<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Hi folks,<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; I work at a bank<br>
&gt; &gt;<br>
&gt; &gt; Me too (sort of)<br>
&gt; &gt;<br>
&gt; &gt;&gt; and I am currently studying the best way to use JBoss Rules so that it<br>
&gt; &gt;&gt; fits our needs. Our loan analysis process can take several months depending<br>
&gt; &gt;&gt; on the type of the loan. Although our business rules can evolve, a loan must<br>
&gt; &gt;&gt; follow the rules valid at the time the loan application was made.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; In order to attend this requirement I thought about storing at the<br>
&gt; &gt;&gt; database the name of the current snapshot with the loan application data, so<br>
&gt; &gt;&gt; that it will possible run this rules in the future without freezing my rule<br>
&gt; &gt;&gt; database.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; * Is there a better way to attend this requirement?<br>
&gt; &gt;<br>
&gt; &gt; Don&#39;t use snapshots. Release your rules and store the rules&#39; release number<br>
&gt; &gt; with the loan application data in your database.<br>
&gt; &gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; * How can I retrieve meta information from a snapshot, such as the date<br>
&gt; &gt;&gt; when the snapshot was created?<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Thanks in advance,<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Celso<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; _______________________________________________<br>
&gt; &gt;&gt; rules-users mailing list<br>
&gt; &gt;&gt; <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
&gt; &gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
&gt; &gt;&gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; rules-users mailing list<br>
&gt; &gt; <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
&gt; &gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
&gt; &gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt;  - CTO @ <a href="http://www.plugtree.com">http://www.plugtree.com</a><br>
&gt;  - MyJourney @ <a href="http://salaboy.wordpress.com">http://salaboy.wordpress.com</a><br>
&gt;  - Co-Founder @ <a href="http://www.jugargentina.org">http://www.jugargentina.org</a><br>
&gt;  - Co-Founder @ <a href="http://www.jbug.com.ar">http://www.jbug.com.ar</a><br>
&gt;<br>
&gt;  - Salatino &quot;Salaboy&quot; Mauricio -<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; rules-users mailing list<br>
&gt; <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</p>