[rules-users] Extracting an boolean variable

Rajesh.Sachin10 rajesh_sachin10 at yahoo.co.in
Thu May 31 08:38:39 EDT 2007


Yes... I created getter and setters for the boolean variable....



Rahul Phadnis wrote:
> 
> Does your Fact object have the 
> isbooleanVariableName() method? The variable values
> are extracted using Java Bean conventions.
> 
> -Rahul
> 
> --- "Rajesh.Sachin10" <rajesh_sachin10 at yahoo.co.in>
> wrote:
> 
>> 
>> I tried to extract a boolean variable from a class
>> using context. The
>> following is my code in DSL file.
>> 
>> context : Context(state == START_UP)
>> Classname(aliasname :
>> booleanVariableName)
>> 
>> When I tried to run this statement I got the
>> following error message in DRL
>> file.
>> 
>> Error Message: Unable to Create Field Extractor for
>> 'booleanVariableName'.
>> 
>> But when I tried to extract a String Variable the
>> Error is cleared.
>> 
>> Can Someone explain me about this problem in Drools.
>> 
>> Thanks.
>> 
>> -- 
>> View this message in context:
>>
> http://www.nabble.com/Extracting-an-boolean-variable-tf3827902.html#a10835911
>> Sent from the drools - user mailing list archive at
>> Nabble.com.
>> 
>> _______________________________________________
>> rules-users mailing list
>> rules-users at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-users
>> 
> 
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
> 
> 

-- 
View this message in context: http://www.nabble.com/Extracting-an-boolean-variable-tf3827902.html#a10893103
Sent from the drools - user mailing list archive at Nabble.com.




More information about the rules-users mailing list