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