Hi,<div>Which version of Drools/Guvnor are you using?</div><div>Since Guvnor 5.1.1 (or maybe 5.1) you are able to change the order of the patterns (i.e. DSL Sentences) in the Guided Editor. Maybe this is not what you are talking about. So a little bit of clarification will be appreciated.</div>


<div>If you want DSL sentences to present a combobox for certain DSL variable, you can define it in your DSL. I think this is explained in Guvnor manual.<br clear="all">This thread could also help you: <a href="http://drools-java-rules-engine.46999.n3.nabble.com/Guvnor-and-drools-implementation-questions-tt2602641.html">http://drools-java-rules-engine.46999.n3.nabble.com/Guvnor-and-drools-implementation-questions-tt2602641.html</a></div>

<div><br></div><div>Best Regards,</div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div><br>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br><br>
Esteban Aliverti<br>- Developer @ <a href="http://www.plugtree.com" target="_blank">http://www.plugtree.com </a><br>- Blog @ <a href="http://ilesteban.wordpress.com" target="_blank">http://ilesteban.wordpress.com</a><br>


<br><br><div class="gmail_quote">2011/3/14 Jim West <span dir="ltr">&lt;<a href="mailto:jmwest532@gmail.com" target="_blank">jmwest532@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


Hi there,<br><br>True, DSLs allows us to write rules (on DSRLs) in plain English, and friendly enough for business people; but our use case requires business people to write their own rules. <br><br>We found some support for this inside Guvnor. Guvnor&#39;s manual describe this in:<br>



<span style="border-collapse:separate;color:rgb(0, 0, 0);font-family:&#39;Times New Roman&#39;;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><span style="color:rgb(74, 93, 117);font-family:&#39;Lucida Grande&#39;,Geneva,Verdana,Arial,sans-serif;font-size:13px;font-weight:bold;line-height:16px;text-align:justify"><a>1.4.2.4.1.2. Augmenting with DSL sentences</a></span></span><br>



<span style="border-collapse:separate;color:rgb(0, 0, 0);font-family:&#39;Times New Roman&#39;;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><span style="color:rgb(51, 51, 51);font-family:&#39;Lucida Grande&#39;,Geneva,Verdana,Arial,sans-serif;font-size:12px;line-height:18px;text-align:justify"><h5 style="font-size:9pt;color:rgb(74, 93, 117);line-height:15px;margin-top:0em;font-family:&#39;Lucida Grande&#39;,Geneva,Verdana,Arial,sans-serif;background-color:transparent">



<a>1.4.2.4.2. DSL rules</a></h5>However, it appears once you include a &quot;DSL Sentence&quot; in a Business rules with the guided editor, you can not modify (or build on top) that row of the rule any further </span></span><span style="border-collapse:separate;color:rgb(0, 0, 0);font-family:&#39;Times New Roman&#39;;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><span style="color:rgb(51, 51, 51);font-family:&#39;Lucida Grande&#39;,Geneva,Verdana,Arial,sans-serif;font-size:12px;line-height:18px;text-align:justify">(forcing us to define the DSL Sentence to be self contained since nothing can be added to that rule row through the guided editor)</span></span>. Is this limitation going to be waived in the future?<br>



<br>Also, Augmenting with DSL sentences presents a &#39;form like&#39; with data entries for the rule author. This is good, but is it possible to make these data entries &#39;combo boxes like&#39; and actually provide to the rule author with a list of options for each data entry? Something similar to the dynamic enum support already in Guvnor.<br>



<br>Thanks in advance for your help/comments.<br><br>Best regards,<br><font color="#888888">Jim<br><br><br>
</font><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><br>
<br></blockquote></div><br></div>