[rules-users] setting enum values in Action Column in excel sheet for Drools decision Table

ashish6276 ashishkumarec010 at gmail.com
Tue Jul 9 00:40:34 EDT 2013


Hi

I have created an excel sheet for drool decision table. i created a object
class for the excel properties which has class level hireachy. City is
inside Country and country is inside region. we are facing issue
in Action part of the excel. as i am setting object as hierarchy based but
we are not able to get the 
enum value which is defined inside the inner object. like 
contentProviders= new ContentProviders();
response.setContentprovider(contentProviders); 
   providers= new Providers();
contentProviders.getContentProviderList().add(providers);
providers.setContentProvider($param);
where

providers.setContentProvider($param);
 is enum value it is throwing an error in drl as it is not able to recognize
the enum value
 i am getting below error while running java program
com/schedulesearch/rules/Rule_BR_01_a6040cb1e88e4e90bd83ad4092334994.java
(8:750) : Test cannot be resolved. 
Test is enum value.
This code i am writing in  the Action Part of xls.

Please suggest Thanks in Advance

 




--
View this message in context: http://drools.46999.n3.nabble.com/setting-enum-values-in-Action-Column-in-excel-sheet-for-Drools-decision-Table-tp4024828.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list