<div dir="ltr"><div><div><div><div><br></div>The issue is solved with build kie-wb 2014-03-22 from <a href="https://hudson.jboss.org/hudson/view/JBoss%20AS/job/kie-wb-distributions/1248/">https://hudson.jboss.org/hudson/view/JBoss%20AS/job/kie-wb-distributions/1248/</a> .<br>
<br>The previous build kie-wb 2014-03-15 had the error.<br><br>Thank you very much for fixing, direct or indirect :-).<br><br>Kai.<br></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-03-14 16:51 GMT+01:00 Kai Jemella <span dir="ltr">&lt;<a href="mailto:kjemella@gmail.com" target="_blank">kjemella@gmail.com</a>&gt;</span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=""><div dir="ltr">My example was bad, because the dsl starts with the same sentence as the first one in the mortgages project.<br>
<br>Can you please try to set the credit rating variable to OK in the Guided Editor,<br>then save, close and reopen the rule.<br>

<br>Now you should see that OK was replaced by AA.<br>This happens because the value is not in the enum and the editor uses the first enum value.<br><br>When
 you change the typ of rating to String, you should see this value in 
the rating input field: &quot;OK and applicant dates is after 14-Mär-2014&quot;<br>
<br>Im using this kie-wb build <a href="https://hudson.jboss.org/hudson/job/kie-wb-distributions/1243/" target="_blank">https://hudson.jboss.org/hudson/job/kie-wb-distributions/1243/</a><br><br>Isn&#39;t this the 6.1.0.Beta1 Version ?<br>


<br>Thanks for helping, Kai.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div class="">2014-03-13 17:36 GMT+01:00 Michael Anstis <span dir="ltr">&lt;<a href="mailto:michael.anstis@gmail.com" target="_blank">michael.anstis@gmail.com</a>&gt;</span>:<br>

</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I tried with the latest code (6.1.0.Beta1) and it works OK.<div><div class="h5"><div><div><br></div>
<div>[when]When the credit rating is {rating:ENUM:Applicant.creditRating} and applicant dates is after {dos:DATE:default} = applicant:Applicant(creditRating==&quot;{rating}&quot;, applicationDate&gt;&quot;{dos}&quot;)</div>


</div><div><br></div><div><span style="color:grey">1.</span><span style="color:green">|</span><span style="color:red">package</span> org.mortgages;</div><div><span style="color:grey">2.</span><span style="color:green">|</span></div>


<div><span style="color:grey">3.</span><span style="color:green">|</span><span style="color:red">import</span> java.lang.Number;</div><div><span style="color:grey">4.</span><span style="color:green">|</span></div><div><span style="color:grey">5.</span><span style="color:green">|</span><span style="color:red">rule</span> <span style="color:green">&quot;eeee&quot;</span></div>


<div><span style="color:grey">6.</span><span style="color:green">|</span>    <span style="color:red">dialect</span> <span style="color:green">&quot;mvel&quot;</span></div><div><span style="color:grey">7.</span><span style="color:green">|</span>    <span style="color:red">when</span></div>


<div><span style="color:grey">8.</span><span style="color:green">|</span>        applicant:Applicant(creditRating==<span style="color:green">&quot;AA&quot;</span>, applicationDate&gt;<span style="color:green">&quot;13-Mar-2014&quot;</span>)</div>


<div><span style="color:grey">9.</span><span style="color:green">|</span>    <span style="color:red">then</span></div><div><span style="color:grey">10.</span><span style="color:green">|</span><span style="color:red">end</span><br>


</div></div></div></div><div><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On 13 March 2014 15:49, Kai Jemella <span dir="ltr">&lt;<a href="mailto:kjemella@gmail.com" target="_blank">kjemella@gmail.com</a>&gt;</span> wrote:<br>


</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Hi,<br><br>i recognized that DSL with multiple variables not working in current 6.1.0-SNAPSHOT master.<br>


<br>First i created a jira issue in the drools project:<br><br><a href="https://issues.jboss.org/browse/DROOLS-428" target="_blank">https://issues.jboss.org/browse/DROOLS-428</a><br>



<br>I thought it was ui issue. I had closed the ticket and recreated it in guvnor project.<br><br><a href="https://issues.jboss.org/browse/GUVNOR-2081" target="_blank">https://issues.jboss.org/browse/GUVNOR-2081</a><br><br>





Now i figured out, that also without edit and save the GuidedRule in kie workbench, the issue exists.<br>
<br>Should i now reopen the drools ticket?<br>Should i create a unit test for the issue?<br><br>Thanks, Kai Jemella.</div>
<br></div></div>_______________________________________________<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></blockquote></div><br></div>
<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></div></div></blockquote></div><br></div>
</blockquote></div><br></div>