Hi Steve (/me is coming up for some air, thought I would have a look on the mailing lists !).<br><br>I assume you are talking about data driven enumerations - so basically &quot;somewhere&quot; you have a list of values, and that is provided to users as a drop down (plus validated etc).
<br><br>This is useful for GUI stuff, but also (potentially) helpful for indexing for performance (but thats for another day).<br><br>There is a JIRA for this, for v2 of the BRMS: <a href="http://jira.jboss.com/jira/browse/JBRULES-821">
http://jira.jboss.com/jira/browse/JBRULES-821</a> would be great if you could put your thoughts down there.<br><br>I think ILog calls these &quot;domains&quot; - I like the term &quot;value domain&quot; or something like it.
<br><br>In any case, I think a variety of sources need to be provided for this: so the list of values could be part of the &quot;ontology&quot; (the fact model, more to come on that later) - ie some attribute of the package definition specifies a list of value. OR, perhaps it comes from an external source, like a flat file, or a database query - eg you may have some external database with Part Numbers for a Widget (!) - those part numbers may change from time to time, so it should periodically refresh the list.
<br><br>One extra feature is to be able to have name/value lists - so the name is shown, but the value applies - say you may want to display a human readable description of the part number, but the rule only cares about the value from the database.
<br><br>My $0.02.<br><br>Michael.<br><br><div><span class="gmail_quote">On 7/6/07, <b class="gmail_sendername">Barfield Steve</b> &lt;<a href="mailto:Steve.Barfield@uk.fujitsu.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

Steve.Barfield@uk.fujitsu.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">











<div link="blue" vlink="purple" lang="EN-GB">

<div>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Fernando,</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Thanks for finding time to reply, I know your all busting a
gut at the mo.</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Firstly, just to confirm you don&#39;t think I&#39;ve missed a more
obvious way of getting a set of values (say countries) into JBRMS for use in
rule conditions.</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Secondly, I&#39;m not sure I know enough yet to suggest
enhancements to JBRMS. </span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Even if tables of user-defined values could be held INSIDE
JBRMS for rule conditions, it would make sense for the same tables to be
visible OUTSIDE</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">JBRMS to set the data that was being submitted to the rules.
If a rule is written for country &quot;SPA&quot; ie Spain, this rule would not be fired
if data </span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">was submitted for country &quot;SPN&quot;.</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font></p>

<p><b><font face="Arial" size="1"><span style="font-size: 7.5pt; font-family: Arial; font-weight: bold;">Regards, Steve Barfield, Developer </span></font></b></p>

</div>

</div>


<br>_______________________________________________<br>rules-dev mailing list<br><a href="mailto:rules-dev@lists.jboss.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">rules-dev@lists.jboss.org
</a><br><a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
https://lists.jboss.org/mailman/listinfo/rules-dev</a><br><br></blockquote></div><br>