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" <[EMAIL PROTECTED]> > 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 >> [email protected] >> https://lists.jboss.org/mailman/listinfo/rules-users >> > > _______________________________________________ > rules-users mailing list > [email protected] > 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. _______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
