Does your Fact object have the
isbooleanVariableName() method? The variable values
are extracted using Java Bean conventions.
-Rahul
--- "Rajesh.Sachin10" <rajesh_sachin10(a)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#a1083...
Sent from the drools - user mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users