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

Shrinath Managuli shrinath.managuli at aspiresys.com
Wed Jun 18 02:03:42 EDT 2014


Hi Michael,
       Thanks, it works as you said.

-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 18:02
To: Rules Users List
Subject: Re: [rules-users] Need help in understanding Data enumeration’s drop down list configuration

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<mailto:shrinath.managuli at aspiresys.com>> wrote:
Hi  Michael,

I’m getting a text box not a drop down like below,

[cid:image001.png at 01CF8A3C.9A96D200]

-Shrinath

From: rules-users-bounces at lists.jboss.org<mailto:rules-users-bounces at lists.jboss.org> [mailto: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<mailto: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,

[cid:image002.png at 01CF8AE9.271DA120]

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,

[cid:image003.png at 01CF8AE9.271DA120]

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 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<mailto:rules-users at lists.jboss.org>
https://lists.jboss.org/mailman/listinfo/rules-users

[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<mailto:rules-users at lists.jboss.org>
https://lists.jboss.org/mailman/listinfo/rules-users

[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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140618/239d2328/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ~WRD000.jpg
Type: image/jpeg
Size: 823 bytes
Desc: ~WRD000.jpg
Url : http://lists.jboss.org/pipermail/rules-users/attachments/20140618/239d2328/attachment-0001.jpg 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 16334 bytes
Desc: image001.png
Url : http://lists.jboss.org/pipermail/rules-users/attachments/20140618/239d2328/attachment-0003.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 7364 bytes
Desc: image002.png
Url : http://lists.jboss.org/pipermail/rules-users/attachments/20140618/239d2328/attachment-0004.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 17931 bytes
Desc: image003.png
Url : http://lists.jboss.org/pipermail/rules-users/attachments/20140618/239d2328/attachment-0005.png 


More information about the rules-users mailing list