[rules-users] Extracting an boolean variable

Rahul Phadnis rahul.phadnis at fatspaniel.com
Tue May 29 20:04:18 EDT 2007


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
> 




More information about the rules-users mailing list