<br>   People,<br><br>   Just a heads up, .brl rules are intended to be simpler rules authored/maintained by business people. While it is a good to have the ability to edit them with the guided editor, they are limited in what they can express. <br>
<br>   Just as one example, as of now, they don&#39;t support &quot;from&quot; syntax, meaning you can not use collect/accumulate/entry-point. If you don&#39;t use that and a couple other things, its not problem then. <br>
<br>   I wanted to give this heads up so that people is aware before hand to avoid waste time in some cases.<br><br>   BTW, it is not that we can&#39;t change that in the future. It is just how things are now.<br><br>   []s<br>
   Edson<br><br><div class="gmail_quote">2009/5/20 Steve Ronderos <span dir="ltr">&lt;<a href="mailto:steve.ronderos@ni.com">steve.ronderos@ni.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<br><tt><font size="2"><a href="mailto:rules-users-bounces@lists.jboss.org" target="_blank">rules-users-bounces@lists.jboss.org</a> wrote on 05/19/2009
06:40:34 PM:<br>
<br>
&gt; [image removed] </font></tt>
<br><tt><font size="2">&gt; <br>
&gt; Re: [rules-users] How to import DRL into Business Rule Assets  section?</font></tt>
<br><tt><font size="2">&gt; <br>
&gt; Late Norther </font></tt>
<br><tt><font size="2">&gt; <br>
&gt; to:</font></tt>
<br><tt><font size="2">&gt; <br>
&gt; Rules Users List</font></tt>
<br><tt><font size="2">&gt; <br>
&gt; 05/19/2009 06:53 PM</font></tt>
<br><tt><font size="2">&gt; <br>
&gt; Sent by:</font></tt>
<br><tt><font size="2">&gt; <br>
&gt; <a href="mailto:rules-users-bounces@lists.jboss.org" target="_blank">rules-users-bounces@lists.jboss.org</a></font></tt>
<br><tt><font size="2">&gt; <br>
&gt; Please respond to Rules Users List</font></tt>
<br><div><div></div><div class="h5"><tt><font size="2">&gt; <br>
&gt; 2009/5/19 Michal Bali &lt;<a href="mailto:michalbali@gmail.com" target="_blank">michalbali@gmail.com</a>&gt;:<br>
&gt; &gt; Hi Jon,<br>
&gt; &gt;<br>
&gt; &gt; You could use webdav to connect to Guvnor -<br>
&gt; &gt; </font></tt><a href="http://blog.athico.com/2008/05/accessing-guvnor-as-filesystem-webdav.html" target="_blank"><tt><font size="2">http://blog.athico.com/2008/05/accessing-guvnor-as-filesystem-webdav.html</font></tt></a><tt><font size="2">.<br>

&gt; &gt; You should then see how Guvnor stores the &#39;business rules&#39;, I
think it is an<br>
&gt; &gt; XML file. Then instead of generating DRL file you could generate
this XML.<br>
&gt; &gt; You can then upload these files via webdav into Guvnor.<br>
&gt; &gt; Hope this helps.<br>
&gt; &gt;<br>
&gt; &gt; Regards,<br>
&gt; &gt; Michal<br>
&gt; &gt;<br>
&gt; <br>
&gt; Michal,<br>
&gt; <br>
&gt; I can&#39;t thank you enough.  This worked well.<br>
&gt; <br>
&gt; For others, here is a review of what I did.<br>
&gt; <br>
&gt; 1. Created a &#39;dummy&#39; rule using the guided editor in my target package.<br>
&gt; 2. Used the blog URL above to mount the package webdav share<br>
&gt; 3. Downloaded the &#39;dummy&#39; rule from the webdav share to act as a template<br>
&gt; 4. Updated my Perl import/export script to create .brl files instead<br>
&gt; of .drl files, using the template.<br>
&gt; 5. Copied the new .brl files created by my utility script to the webdav
share.<br>
&gt; 6. Go back to Guvnor GWT and saw/confirmed my rules.<br>
&gt; <br>
&gt; The only snafu I found was that I am unable to populate a category
as<br>
&gt; part of the import, but I can have my analysts do that by hand if<br>
&gt; needed.  That apparently is not stored in the .brl, but rather<br>
&gt; somewhere else.   I did confirm that I can update the category
in the<br>
&gt; UI after the load.<br>
&gt; <br>
&gt; Again,  Thank you.<br>
&gt; <br>
&gt; Jon<br>
&gt; _______________________________________________<br>
&gt; rules-users mailing list<br>
&gt; <a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>
&gt; </font></tt><a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank"><tt><font size="2">https://lists.jboss.org/mailman/listinfo/rules-users</font></tt></a>
<br>
<br></div></div><tt><font size="2">Jon,</font></tt>
<br>
<br><tt><font size="2">We are currently trying to convert our drl files to
brls as well.  Would it be possible to share your perl conversion
utility?  We were just about to start creating a similar script, but
it would help us out greatly if we could have a look at yours.</font></tt>
<br>
<br><tt><font size="2">Thanks,</font></tt>
<br><font color="#888888">
<br><tt><font size="2">Steve<br>
</font></tt></font><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><br clear="all"><br>-- <br>  Edson Tirelli<br>  JBoss Drools Core Development<br>  JBoss, a division of Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a><br>