[rules-users] Need help in understanding Data enumeration’s drop down list configuration

Michael Anstis michael.anstis at gmail.com
Tue Jun 17 08:32:22 EDT 2014


Hello,

"Workbench enums" (i.e. not Java ones) are scoped at the package level and
hence should not contain a fully qualified class name.

If you amend your definition to simply use "Customer" it should be OK.


On 17 June 2014 10:30, Shrinath Managuli <shrinath.managuli at aspiresys.com>
wrote:

>  Hi  Michael,
>
>
>
> I’m getting a text box not a drop down like below,
>
>
>
> [image: cid:image001.png at 01CF8A3C.9A96D200]
>
>
>
> -Shrinath
>
>
>
> *From:* rules-users-bounces at lists.jboss.org [mailto:
> rules-users-bounces at lists.jboss.org] *On Behalf Of *Michael Anstis
> *Sent:* 17 June 2014 14:44
> *To:* Rules Users List
> *Subject:* Re: [rules-users] Need help in understanding Data
> enumeration’s drop down list configuration
>
>
>
> What happens if you click on the "pencil" next to "equal to" dropdown and
> select "literal value"?
>
>
>
> This is when you should see the enum list.
>
>
>
> On 17 June 2014 10:00, Shrinath Managuli <shrinath.managuli at aspiresys.com>
> wrote:
>
> Hi Drools,
>
>
>
> Need help in understanding Data enumeration’s drop down list configuration,
>
>
>
> I had created a simple data enumeration as,
>
>
>
>
>
> For this, I also created a *Customer* object with a *code* field as
> String at *org.kie.example.project1* package.
>
>
>
> While creating guided rule, I’m unable to view the enumeration as drop
> down as like below,
>
>
>
>
>
> I had tried this scenario with JBoss BRMS 6. Please help me to understand
> on how to populate the drop down using data enumeration.
>
>
>
> Thanks,
>
> srinath
>
> [image: Image removed by sender. Aspire Systems]
>
> This e-mail message and any attachments are for the sole use of the
> intended recipient(s) and may contain proprietary, confidential, trade
> secret or privileged information. Any unauthorized review, use, disclosure
> or distribution is prohibited and may be a violation of law. If you are not
> the intended recipient, please contact the sender by reply e-mail and
> destroy all copies of the original message.
>
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
>  [image: Aspire Systems]
>
> This e-mail message and any attachments are for the sole use of the
> intended recipient(s) and may contain proprietary, confidential, trade
> secret or privileged information. Any unauthorized review, use, disclosure
> or distribution is prohibited and may be a violation of law. If you are not
> the intended recipient, please contact the sender by reply e-mail and
> destroy all copies of the original message.
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140617/fe67f6ef/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ~WRD000.jpg
Type: image/jpeg
Size: 823 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/rules-users/attachments/20140617/fe67f6ef/attachment-0001.jpg 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 7364 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/rules-users/attachments/20140617/fe67f6ef/attachment-0003.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 16334 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/rules-users/attachments/20140617/fe67f6ef/attachment-0004.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.png
Type: image/png
Size: 17931 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/rules-users/attachments/20140617/fe67f6ef/attachment-0005.png 


More information about the rules-users mailing list