The problem appears to be your use of an expression in the right-hand side of the &quot;equal to&quot; comparison. If you choose &quot;Literal value&quot; the enum is presented correctly.<br><br>When using an expression the enums members are not presented as this is really meant to navigate an object model.<br>
<br><div class="gmail_quote">On 18 April 2012 22:35, Sean Su <span dir="ltr">&lt;<a href="mailto:sean.x.su@gmail.com">sean.x.su@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Please give a try to this version. I probably did not save the changes.<span class="HOEnZb"><font color="#888888"><br><br>Sean</font></span><div class="HOEnZb"><div class="h5"><br><br><div class="gmail_quote">On Wed, Apr 18, 2012 at 5:28 PM, Michael Anstis <span dir="ltr">&lt;<a href="mailto:michael.anstis@gmail.com" target="_blank">michael.anstis@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I opened the &quot;Overlapping Test&quot; rule and it has no content\definition.<br><br>Am I missing something?<div>

<div><br><br><div class="gmail_quote">On 18 April 2012 22:12, Sean Su <span dir="ltr">&lt;<a href="mailto:sean.x.su@gmail.com" target="_blank">sean.x.su@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Yes, it has been uploaded onto the repository, though there are some examples (from Drools) in the jar which I do not need to evaluate.<br>


<br>Attached is the exported repository. The rule is in the ...rules.overlappingrules package.<br>
<br>Thanks<span><font color="#888888"><br><br>Sean</font></span><div><div><br><br><div class="gmail_quote">On Wed, Apr 18, 2012 at 5:09 PM, Michael Anstis <span dir="ltr">&lt;<a href="mailto:michael.anstis@gmail.com" target="_blank">michael.anstis@gmail.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<p>Yes, just the repository export will be fine. Provided you have uploaded the model JAR into Guvnor as a POJO model it will be (if you haven&#39;t try that first!) </p>
<p>sent on the move</p><div><div>
<p>On 18 Apr 2012 22:04, &quot;Sean Su&quot; &lt;<a href="mailto:sean.x.su@gmail.com" target="_blank">sean.x.su@gmail.com</a>&gt; wrote:<br type="attribution"></p><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">




I am evaluating 5.3.final.<br><br>No I am not using DSL yet but plan to do so if we can pass the evaluation phase.<br><br>Would the zip file exported from Guvnor (plus the jar POJO model) be good enough? If yes, I can send over.<br>





<br>thanks<br><br>Sean<br><br><div class="gmail_quote">On Wed, Apr 18, 2012 at 4:54 PM, Michael Anstis <span dir="ltr">&lt;<a href="mailto:michael.anstis@gmail.com" target="_blank">michael.anstis@gmail.com</a>&gt;</span> wrote:<br>




<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<p>Yes, but perhaps not specifically for your use-case.</p>
<p>What version of Guvnor are you using? I assume you are using a DSL? Can you provide a self-contained repository export?</p>
<p>sent on the move</p>
<p></p><div><div>On 18 Apr 2012 21:36, &quot;Sean Su&quot; &lt;<a href="mailto:sean.x.su@gmail.com" target="_blank">sean.x.su@gmail.com</a>&gt; wrote:<br type="attribution"></div></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div><div>
Has anyone here successfully used Enum in the guided editor in Guvnor?<br><br>I am trying to build a patter with the following pseudo condition but could not get the Enum list displayed in the drop down of the Enum:<br><br>







&quot;There is an Event with Event.type (Enum EventType) equal to EventType.someType&quot;.<br><br>Here, someType is one of the enum defined in EventType.java.<br><br>Event.java has getType() method returns EventType.<br>







<br>Everything seems working fine, exception in the drop down of EventType, there is no enum defined. It only has the standard API from Enum listed there.<br><br>Any input is appreciated.<br><br>Thanks<br><br>Sean<br>
<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>
<br></blockquote>
<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><br clear="all"><br>-- <br>&quot;But beware of the Dark Side. Anger, fear, aggression - the Dark Side of the Force are they.&quot; -Yoda<br>
<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></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>
<br></blockquote></div><br><br clear="all"><br>-- <br>&quot;But beware of the Dark Side. Anger, fear, aggression - the Dark Side of the Force are they.&quot; -Yoda<br>
</div></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>
<br></blockquote></div><br>
</div></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>
<br></blockquote></div><br><br clear="all"><br>-- <br>&quot;But beware of the Dark Side. Anger, fear, aggression - the Dark Side of the Force are they.&quot; -Yoda<br>
</div></div><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>