Hi Dean,<br><br>Given the generic nature of your complaint I cannot give any undertaking that things are any different.<br><br>That said, there have been numerous improvements to the handling of legacy assets and you mind find things better.<br>
<br>With kind regards,<br><br>Mike<br><br><div class="gmail_quote">On 4 December 2012 22:02, Dean Whisnant <span dir="ltr">&lt;<a href="mailto:dean@basys.com" target="_blank">dean@basys.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="EN-US"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Mike,<u></u><u></u></span></p><p class="MsoNormal">
<span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Thank you.  I’d swap to 5.5.0 in an instant if I knew it could import all of my Guvnor data from 5.1.1. I know back when 5.2.0 came out the guided rules wouldn’t import properly, has that changed?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">At this point I have thousands of rules in a couple hundred different packages, with 30+ customers accessing the rules at any one time. We would love to keep up to date, but the import not working is holding us back.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Thanks<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Dean<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> <a href="mailto:rules-users-bounces@lists.jboss.org" target="_blank">rules-users-bounces@lists.jboss.org</a> [mailto:<a href="mailto:rules-users-bounces@lists.jboss.org" target="_blank">rules-users-bounces@lists.jboss.org</a>] <b>On Behalf Of </b>Michael Anstis<br>
<b>Sent:</b> Tuesday, December 04, 2012 4:16 PM</span></p><div><div class="h5"><br><b>To:</b> Rules Users List<br><b>Subject:</b> Re: [rules-users] Guvnor and Global Functions<u></u><u></u></div></div><p></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal" style="margin-bottom:12.0pt">Sure, no problem.<br><br>Go to the package you require the globally shared asset to be within.<br><br>Select &quot;Create New Asset&quot; and then the option to import from the Global Area.<br>
<br>5.1.1 is *really* old and you&#39;re running a risk of getting next to little support here, as we concentrate our efforts on the later releases.<br><br>5.5.0.Final (or 5.4.0.Final if you don&#39;t want the latest and greatest) is vastly superior and I would recommend you giving it a try.<br>
<br>With kind regards,<br><br>Mike<u></u><u></u></p><div><p class="MsoNormal">On 4 December 2012 20:07, Dean Whisnant &lt;<a href="mailto:dean@basys.com" target="_blank">dean@basys.com</a>&gt; wrote:<u></u><u></u></p><div>
<div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Michael,</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Thank you for the answer, but can you give me an example of how I might be importing the Function from Global Area.  I’m assuming I would go the package screen for V222 (and other packages) and would use the Advanced view to add an import statement, but I’m not sure I understand how to form this import statement.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Thanks</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><br>Dean</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> <a href="mailto:rules-users-bounces@lists.jboss.org" target="_blank">rules-users-bounces@lists.jboss.org</a> [mailto:<a href="mailto:rules-users-bounces@lists.jboss.org" target="_blank">rules-users-bounces@lists.jboss.org</a>] <b>On Behalf Of </b>Michael Anstis<br>
<b>Sent:</b> Tuesday, December 04, 2012 3:01 PM<br><b>To:</b> Rules Users List<br><b>Subject:</b> Re: [rules-users] Guvnor and Global Functions</span><u></u><u></u></p><div><div><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal" style="margin-bottom:12.0pt">
Global Area is a place for shared assets.<br><br>This said, however, you still need to import them from the Global Area into individual packages.<br><br>Think of the import as a symlink\shortcut to the shared asset.<u></u><u></u></p>
<div><p class="MsoNormal">On 4 December 2012 19:51, Dean Whisnant &lt;<a href="mailto:dean@basys.com" target="_blank">dean@basys.com</a>&gt; wrote:<u></u><u></u></p><div><div><p class="MsoNormal"><span style="color:#1f497d">I’m using Drools/Guvnor version 5.1.1.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#1f497d" lang="EN-IN"> </span><u></u><u></u></p><p class="MsoNormal"><span style="color:#1f497d" lang="EN-IN">In the Global Area of Guvnor, under functions, I’ve created a function called splitDiagnosis.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#1f497d" lang="EN-IN"> </span><u></u><u></u></p><p class="MsoNormal"><span style="color:#1f497d" lang="EN-IN">In another package, we’ll call it V222, I have a rule called LoadDiag.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#1f497d" lang="EN-IN"> </span><u></u><u></u></p><p class="MsoNormal"><span style="color:#1f497d" lang="EN-IN">In the Then section of the rule, I set the value of a field “=splitDiagnosis(diag,type)”</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#1f497d" lang="EN-IN"> </span><u></u><u></u></p><p class="MsoNormal"><span style="color:#1f497d" lang="EN-IN">When run through our live software, the rule errors out because it evidently does not see the global area.  If the rule is in the local package, then it works properly, but I have dozens of packages that all need access to this function and I don’t want to keep copying it from one package to another.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#1f497d" lang="EN-IN"> </span><u></u><u></u></p><p class="MsoNormal"><span style="color:#1f497d" lang="EN-IN">I must be missing something to tell package V222 to include the global area.  Any thoughts?</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#1f497d" lang="EN-IN"> </span><u></u><u></u></p><p class="MsoNormal"><span style="color:#1f497d" lang="EN-IN">Thank you,</span><u></u><u></u></p><p class="MsoNormal"><span style="color:#1f497d" lang="EN-IN"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#1f497d" lang="EN-IN">Dean Whisnant</span><u></u><u></u></p></div></div><p class="MsoNormal" style="margin-bottom:12.0pt"><br>_______________________________________________<br>rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><u></u><u></u></p>
</div><p class="MsoNormal"> <u></u><u></u></p></div></div></div></div><p class="MsoNormal" style="margin-bottom:12.0pt"><br>_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><u></u><u></u></p></div><p class="MsoNormal"><u></u> <u></u></p></div></div></div></div>
<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" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></div><br>