No.<br><br>enum definitions are held within Guvnor&#39;s repository (author-time resources) which does not have to be available in the environment in which the rules are executed (runtime-resources).<br><br>You could theoretically write a helper function that was used in combination with the &quot;from&quot; keyword that retrieved and parsed the enum definitions, but you&#39;d have to be desperate to want to try it.<br>
<br>With kind regards,<br><br>Mike<br><br><div class="gmail_quote">On 7 July 2011 13:13, Prasad <span dir="ltr">&lt;<a href="mailto:prasad1250@gmail.com">prasad1250@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;">
Hi All,<br>
<br>
We have a scenario where in we need to return the list of all values defined<br>
in an enumeration in Gunvor.<br>
<br>
Can we access the list of possible values defined in an enumeration as a<br>
collection in a rule instead of using them one at a time as in LOV.<br>
<br>
Thanks<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/How-do-we-access-all-the-values-in-an-enum-Managed-in-Guvnor-in-a-rule-of-Guvnor-tp3147980p3147980.html" target="_blank">http://drools.46999.n3.nabble.com/How-do-we-access-all-the-values-in-an-enum-Managed-in-Guvnor-in-a-rule-of-Guvnor-tp3147980p3147980.html</a><br>

Sent from the Drools: User forum mailing list archive at Nabble.com.<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>
</font></blockquote></div><br>