[rules-users] Enum in Drools 4.0.7 don't work for me
My tria
enrico_zeranto at mytria.it
Tue Feb 9 06:17:55 EST 2010
Hi all,
I've a problem with the enumeration (combo-drop down box) in Drools 4.0.7
BRMS.
I've do this steps:
--> Create an enumeration type:
'ChannelInputMessage.priority.hardcore' : ['Error=error',
'Warning=warning', 'Fatal=fatal']
--> Create the DSL and so invoce the enumeration:
[condition][MailChannelConfiguration]Per ogni messaggio di errore con
canale
mail=$mailChannelConfiguration:MailChannelConfiguration()
[condition][ChannelInputMessage]avente: = ChannelInputMessage()
[condition] - cliente {'customerValue'} = customer=="{'customerValue'}"
[condition] - processo {'processValue'} = process=="{'processValue'}"
[condition] - categoria {'categoryValue'} esempi business,it =
category=="{'categoryValue'}"
[condition] - priorita {priorityValue:ENUM:Priority} =
priority.hardcode == "{priorityValue}"
[consequence][MailChannelConfiguration]invia al destinatario:
{'recipient'} =
$mailChannelConfiguration.addRecipient("{'recipient'}");
--> The problem accours when I try to define the rule with the guided editor
http://n3.nabble.com/file/n196342/screen-rule.png
The editor appears without the Enumeration tab, but only write in the text
field the string "priorityValue:ENUM:Priority"
PLEASE HELP ME IT'S VERY IMPORTANT
THANKS IN ADVANCE
--
View this message in context: http://n3.nabble.com/Enum-in-Drools-4-0-7-don-t-work-for-me-tp196342p196342.html
Sent from the Drools - User mailing list archive at Nabble.com.
More information about the rules-users
mailing list