<p><br>
Am 26.12.2011 18:16 schrieb "Mauricio Salatino" <<a href="mailto:salaboy@gmail.com">salaboy@gmail.com</a>>:<br>
><br>
> Did you try Guvnor? it already store the snapshots version. So you can<br>
> get the right snapshot for running your rules against an old Loan<br>
> again.<br>
><br>
> @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'd preferr a stable loan application <=> rule set association. OTOH, it is probably *possible* to retrieve the correct snapshot version for a loan application if additional metadata is available. It'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>> Cheers<br>
><br>
><br>
> 2011/12/26 Ansgar Konermann <<a href="mailto:ansgar.konermann@googlemail.com">ansgar.konermann@googlemail.com</a>>:<br>
> ><br>
> > Am 26.12.2011 18:08 schrieb "Celso Junior" <<a href="mailto:celsogbj@gmail.com">celsogbj@gmail.com</a>>:<br>
> ><br>
> ><br>
> >><br>
> >> Hi folks,<br>
> >><br>
> >> I work at a bank<br>
> ><br>
> > Me too (sort of)<br>
> ><br>
> >> and I am currently studying the best way to use JBoss Rules so that it<br>
> >> fits our needs. Our loan analysis process can take several months depending<br>
> >> on the type of the loan. Although our business rules can evolve, a loan must<br>
> >> follow the rules valid at the time the loan application was made.<br>
> >><br>
> >> In order to attend this requirement I thought about storing at the<br>
> >> database the name of the current snapshot with the loan application data, so<br>
> >> that it will possible run this rules in the future without freezing my rule<br>
> >> database.<br>
> >><br>
> >> * Is there a better way to attend this requirement?<br>
> ><br>
> > Don't use snapshots. Release your rules and store the rules' release number<br>
> > with the loan application data in your database.<br>
> ><br>
> >><br>
> >> * How can I retrieve meta information from a snapshot, such as the date<br>
> >> when the snapshot was created?<br>
> >><br>
> >> Thanks in advance,<br>
> >><br>
> >> Celso<br>
> >><br>
> >><br>
> >> _______________________________________________<br>
> >> rules-users mailing list<br>
> >> <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
> >> <a href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
> >><br>
> ><br>
> ><br>
> > _______________________________________________<br>
> > rules-users mailing list<br>
> > <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
> > <a href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
> ><br>
><br>
><br>
><br>
> --<br>
> - CTO @ <a href="http://www.plugtree.com">http://www.plugtree.com</a><br>
> - MyJourney @ <a href="http://salaboy.wordpress.com">http://salaboy.wordpress.com</a><br>
> - Co-Founder @ <a href="http://www.jugargentina.org">http://www.jugargentina.org</a><br>
> - Co-Founder @ <a href="http://www.jbug.com.ar">http://www.jbug.com.ar</a><br>
><br>
> - Salatino "Salaboy" Mauricio -<br>
><br>
> _______________________________________________<br>
> rules-users mailing list<br>
> <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
> <a href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</p>