<br><font size=2 face="sans-serif">Hi Shawn,</font>
<br>
<br><font size=2 face="sans-serif">I'm also currently evaluating Guvnor.
&nbsp;I certainly don't have all the answers but maybe I can share what
I have learned so far. &nbsp;I've put my comments below.</font>
<br><font size=2 face="sans-serif"><br>
</font><font size=3>Steve Ronderos </font>
<br>
<br><tt><font size=2>rules-users-bounces@lists.jboss.org wrote on 06/04/2009
08:14:30 AM:<br>
<br>
&gt; [image removed] </font></tt>
<br><tt><font size=2>&gt; <br>
&gt; [rules-users] RE: questions on guvnor and drools 5.0</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; Garner, Shawn </font></tt>
<br><tt><font size=2>&gt; <br>
&gt; to:</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; rules-users@lists.jboss.org</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; 06/04/2009 08:19 AM</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; Sent by:</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; rules-users-bounces@lists.jboss.org</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; Please respond to Rules Users List</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; Sorry it's been a few days and I haven't gotten any response on any
<br>
&gt; questions/statements below. &nbsp;<br>
&gt; <br>
&gt; I've used drools in the past but am pretty new to some features of
<br>
&gt; drools still and new to Guvnor. &nbsp;I wrote a proof of concept drools/<br>
&gt; Guvnor app and these are the things I don't like or have questions
around.<br>
&gt; <br>
&gt; I was wondering if other people have the same problems or am I going<br>
&gt; about things wrong? &nbsp;Are there work arounds or is there plans
to <br>
&gt; expand/change functionality? &nbsp;Maybe I should ask the dev list?<br>
&gt; <br>
&gt; SG<br>
&gt; <br>
&gt; -----Original Message-----<br>
&gt; From: G, S <br>
&gt; Sent: Monday, June 01, 2009 3:28 PM<br>
&gt; To: 'rules-users@lists.jboss.org'<br>
&gt; Subject: questions on guvnor and drools 5.0<br>
&gt; <br>
&gt; I was wondering if somebody can help me with some questions:<br>
&gt; <br>
&gt; 1) Is there any more detail on how to setup Guvnor with a database?</font></tt>
<br>
<br><tt><font size=2>Guvnor uses Apache Jackrabbit for persistence. &nbsp;You
can find a pretty good walk through on the Drools blog </font></tt><a href="http://blog.athico.com/2008/08/tuning-guvnor.html"><tt><font size=2>http://blog.athico.com/2008/08/tuning-guvnor.html</font></tt></a><tt><font size=2>.
&nbsp;Additional information about configuring the repository can be found
on the Apache Jackrabbit site. &nbsp;</font></tt><a href="http://jackrabbit.apache.org/jackrabbit-configuration.html"><tt><font size=2>http://jackrabbit.apache.org/jackrabbit-configuration.html</font></tt></a>
<br><tt><font size=2><br>
&gt; 2) How do you use the test scenarios with complex object structures?<br>
&gt; &nbsp; &nbsp;-eg Create a fact in working memory that has another
Object in it<br>
&gt; which in turn has a list of Objects in it.<br>
&gt; &nbsp; &nbsp;-Seems like any Fact in working memory is assumed to
only have <br>
&gt; only primitive values like Strings or numbers.<br>
&gt; &nbsp; &nbsp;-We would like a more depth of objects where objects
have a deep <br>
&gt; relationship to other objects at least 2-4 levels deep.</font></tt>
<br>
<br><tt><font size=2>I'm not sure, haven't used that feature of Guvnor
much yet.</font></tt>
<br><tt><font size=2><br>
&gt; 3) Why add ruleflow-group to the rule definition instead of adding
<br>
&gt; the rule to a ruleflow-group? &nbsp;If the ruleflow-group is part
of the <br>
&gt; rule then you can't use the same rule in multiple ruleflow-groups
<br>
&gt; and leads to copy and maintaining the rule in two different spots.</font></tt>
<br>
<br><tt><font size=2>Should probably ask the dev group this one.</font></tt>
<br><tt><font size=2><br>
&gt; 4) &nbsp;DSL seems to be very inconvenient to edit in a text box <br>
&gt; especially when it wraps. &nbsp;Why not a table where you can add
rows <br>
&gt; and each row is a translation. &nbsp;Also there are no examples how
to do<br>
&gt; translation into Drools syntax that is multiple lines long and not
<br>
&gt; just a single line.</font></tt>
<br>
<br><tt><font size=2>I haven't used DSLs much either yet. &nbsp;Maybe ask
the dev group this one also.</font></tt>
<br><tt><font size=2><br>
&gt; 5) Is Java 5 Type Enumerations supported? &nbsp;I was assuming I'd
get a <br>
&gt; list of values if a field was an Enumeration.</font></tt>
<br>
<br><tt><font size=2>Not sure</font></tt>
<br><tt><font size=2><br>
&gt; 6) There seems to be a vast functionality difference between the <br>
&gt; Guvnor decision tables and examples that use spreadsheets.</font></tt>
<br>
<br><tt><font size=2>I believe that Guvnor decision tables are not as full
featured as the spreadsheet based version, but you can still upload spreadsheets
to Guvnor as decision tables.</font></tt>
<br><tt><font size=2><br>
&gt; 7) Guvnor lost the ability to select variables for use in other <br>
&gt; statements. &nbsp;Functionality was in BRMS of drools 4.0.7</font></tt>
<br>
<br><tt><font size=2>I don't understand the question. &nbsp;Are you talking
about assigning a pattern or an attribute in a pattern to a variable for
use in another statement in the LHS or RHS? &nbsp;If so clicking on the
fact type or field restriction that gives you that option.</font></tt>
<br><tt><font size=2><br>
&gt; 8) I was not able to insert a fact using a constructor that needed
<br>
&gt; parameter values. &nbsp;Seems like it assumes everything is a bean
but I <br>
&gt; couldn't find this requirement stated in the documentation anywhere.<br>
&gt; Examples in documentation show inserting facts with constructor parameters.</font></tt>
<br>
<br><tt><font size=2>Are you talking about in the Guided Rules Editor?
I haven't tried this, but it sounds like a bug. &nbsp;Maybe ask the dev
team.</font></tt>
<br><tt><font size=2><br>
&gt; 9) It would be nice when you upload a domain model jar that you <br>
&gt; could explore the objects and fields somehow.</font></tt>
<br>
<br><tt><font size=2>I agree, being able to traverse the model that you
include would be nice. &nbsp;Maybe ask the dev team if there are plans
for such a feature or create a request in the Guvnor JIRA. </font></tt><a href=https://jira.jboss.org/jira/browse/JBRULES><tt><font size=2>https://jira.jboss.org/jira/browse/JBRULES</font></tt></a>
<br><tt><font size=2><br>
&gt; 10) When you write a rule using one particular editor it would be
<br>
&gt; nice if you could switch to another editor. Switch between Guided,
<br>
&gt; DSL, Technical, etc.</font></tt>
<br>
<br><tt><font size=2>Agreed. &nbsp;Some other posters on the email group
have discussed this before. &nbsp;As it stands the different editors aren't
equally as powerful. &nbsp;Some rules can not be represented in the Guided
editor since it does not have anything capable of &quot;from&quot; (I think).
&nbsp;Maybe ask the dev team about this and possibly create a feature request.</font></tt>
<br><tt><font size=2><br>
&gt; 11) It seems hard to reorder the statements in a when or then block.<br>
&gt; If I put them in the wrong order I have to delete them all. &nbsp;Would
<br>
&gt; be nice if a statement could be moved up or down.</font></tt>
<br>
<br><tt><font size=2>Agreed. &nbsp;I don't believe this is possible in
the Guided editor (aside from maybe editing the .brl file directly via
WebDAV) maybe ask the dev team and create a feature request.</font></tt>
<br><tt><font size=2><br>
&gt; 12) When calling a method on an object the choices only showed me
<br>
&gt; public methods that take in one parameter. &nbsp;I had a method with
two <br>
&gt; parameters and it wouldn't show me the method. &nbsp;I had to do a
DSL or<br>
&gt; custom drools statement to get around it.</font></tt>
<br>
<br><tt><font size=2>Sounds like a bug. &nbsp;Talk to the dev team or file
a request.</font></tt>
<br><tt><font size=2><br>
&gt; 13) Guvnor seems to limit the drools syntax. &nbsp;I couldn't do a
&quot;from <br>
&gt; $collection&quot; statement without a custom drools statement line.</font></tt>
<br>
<br><tt><font size=2>I believe this is a known limitation and I want to
say I've seen a feature request to add this to the Guided editor.</font></tt>
<br><tt><font size=2><br>
&gt; 14) It would be nice if I could declare a global dialect &quot;java&quot;
for <br>
&gt; all the rules.</font></tt>
<br>
<br><tt><font size=2>Agreed. &nbsp;Feature request.</font></tt>
<br><tt><font size=2><br>
&gt; 15) It would be nice to define an existing agenda-group as part of
a<br>
&gt; ruleflow-group without adding the ruleflow-group on the rules in <br>
&gt; that agenda-group.</font></tt>
<br>
<br><tt><font size=2>I'm not that familiar with agenda-groups or ruleflow-groups.
&nbsp;Sorry I can't help on this one.</font></tt>
<br><tt><font size=2><br>
&gt; <br>
&gt; Thanks,<br>
&gt; SG<br>
&gt; <br>
&gt; <br>
&gt; -----Message Disclaimer-----<br>
&gt; <br>
&gt; This e-mail message is intended only for the use of the individual
or<br>
&gt; entity to which it is addressed, and may contain information that
is<br>
&gt; privileged, confidential and exempt from disclosure under applicable
law.<br>
&gt; If you are not the intended recipient, any dissemination, distribution
or<br>
&gt; copying of this communication is strictly prohibited. If you have<br>
&gt; received this communication in error, please notify us immediately
by<br>
&gt; reply email to Connect@principal.com and delete or destroy all copies
of<br>
&gt; the original message and attachments thereto. Email sent to or from
the<br>
&gt; Principal Financial Group or any of its member companies may be retained<br>
&gt; as required by law or regulation.<br>
&gt; <br>
&gt; Nothing in this message is intended to constitute an Electronic signature<br>
&gt; for purposes of the Uniform Electronic Transactions Act (UETA) or
the<br>
&gt; Electronic Signatures in Global and National Commerce Act (&quot;E-Sign&quot;)<br>
&gt; unless a specific statement to the contrary is included in this message.<br>
&gt; <br>
&gt; While this communication may be used to promote or market a transaction<br>
&gt; or an idea that is discussed in the publication, it is intended to
provide<br>
&gt; general information about the subject matter covered and is provided
with<br>
&gt; the understanding that The Principal is not rendering legal, accounting,<br>
&gt; or tax advice. It is not a marketed opinion and may not be used to
avoid<br>
&gt; penalties under the Internal Revenue Code. You should consult with<br>
&gt; appropriate counsel or other advisors on all matters pertaining to
legal,<br>
&gt; tax, or accounting obligations and requirements.<br>
&gt; <br>
&gt; <br>
&gt; _______________________________________________<br>
&gt; rules-users mailing list<br>
&gt; rules-users@lists.jboss.org<br>
&gt; </font></tt><a href="https://lists.jboss.org/mailman/listinfo/rules-users"><tt><font size=2>https://lists.jboss.org/mailman/listinfo/rules-users</font></tt></a><tt><font size=2><br>
</font></tt>