<div>Does anyone know if the new data enumeration functionality in the BRMS version 4.0.1 works with DSL sentences?</div>
<div>&nbsp;</div>
<div>I have a Customer object that has a String attribute called value that can be be one of the values &quot;High&quot;, &quot;Medium&quot; and &quot;Low&quot;. I&#39;ve defined a data enumeration for this as follows in the BRMS:
</div>
<div>&nbsp;</div>
<div>&#39;Customer.value&#39;: [&#39;High&#39;,&#39;Medium&#39;,&#39;Low&#39;]</div>
<div>&nbsp;</div>
<div>This works fine using the guided editor and I see a drop down list containing [&#39;High&#39;,&#39;Medium&#39;,&#39;Low&#39;] whenever I create a rule involving a Customer value attribute. I then created a DSL which has the following definitions in it:
</div>
<div>&nbsp;</div>
<div>[condition][]There is a Customer=c: Customer()<br>[condition][]- who is {value} value=value == &quot;{value}&quot;</div>
<div>&nbsp;</div>
<div>I then created&nbsp;a guided rule that has the following when condition, where [ ] represents the text box the guided editor creates to enter a value for the {value} placeholder:</div>
<div>&nbsp;</div>
<div>There is a Customer</div>
<div>- who is [ ] value</div>
<div>&nbsp;</div>
<div>However, I had hoped that the data enumeration stuff would have worked out that {value} represents a Customer.value attribute and consequently provided a drop down list of values. So, I&#39;m not sure if this is a bug, or&nbsp;this is just&nbsp;not implemented and a possible JIRA enhancement request.
</div>
<div>&nbsp;</div>
<div>Thanks,</div>
<div>Shahad</div>
<div>&nbsp;</div>