<br>&nbsp;&nbsp; Maybe there is a problem with it... can you please create a JIRA with a sample test attached?<br><br>&nbsp;&nbsp; Thanks,<br>&nbsp;&nbsp;&nbsp;&nbsp; Edson<br><br><div><span class="gmail_quote">2007/5/31, Rajesh.Sachin10 &lt;<a href="mailto:rajesh_sachin10@yahoo.co.in">
rajesh_sachin10@yahoo.co.in</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>Yes... I created getter and setters for the boolean variable....
<br><br><br><br>Rahul Phadnis wrote:<br>&gt;<br>&gt; Does your Fact object have the<br>&gt; isbooleanVariableName() method? The variable values<br>&gt; are extracted using Java Bean conventions.<br>&gt;<br>&gt; -Rahul<br>
&gt;<br>&gt; --- &quot;Rajesh.Sachin10&quot; &lt;<a href="mailto:rajesh_sachin10@yahoo.co.in">rajesh_sachin10@yahoo.co.in</a>&gt;<br>&gt; wrote:<br>&gt;<br>&gt;&gt;<br>&gt;&gt; I tried to extract a boolean variable from a class
<br>&gt;&gt; using context. The<br>&gt;&gt; following is my code in DSL file.<br>&gt;&gt;<br>&gt;&gt; context : Context(state == START_UP)<br>&gt;&gt; Classname(aliasname :<br>&gt;&gt; booleanVariableName)<br>&gt;&gt;<br>
&gt;&gt; When I tried to run this statement I got the<br>&gt;&gt; following error message in DRL<br>&gt;&gt; file.<br>&gt;&gt;<br>&gt;&gt; Error Message: Unable to Create Field Extractor for<br>&gt;&gt; &#39;booleanVariableName&#39;.
<br>&gt;&gt;<br>&gt;&gt; But when I tried to extract a String Variable the<br>&gt;&gt; Error is cleared.<br>&gt;&gt;<br>&gt;&gt; Can Someone explain me about this problem in Drools.<br>&gt;&gt;<br>&gt;&gt; Thanks.<br>&gt;&gt;
<br>&gt;&gt; --<br>&gt;&gt; View this message in context:<br>&gt;&gt;<br>&gt; <a href="http://www.nabble.com/Extracting-an-boolean-variable-tf3827902.html#a10835911">http://www.nabble.com/Extracting-an-boolean-variable-tf3827902.html#a10835911
</a><br>&gt;&gt; Sent from the drools - user mailing list archive at<br>&gt;&gt; <a href="http://Nabble.com">Nabble.com</a>.<br>&gt;&gt;<br>&gt;&gt; _______________________________________________<br>&gt;&gt; rules-users mailing list
<br>&gt;&gt; <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
<br>&gt;&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; rules-users mailing list<br>&gt; <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>&gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-users">
https://lists.jboss.org/mailman/listinfo/rules-users</a><br>&gt;<br>&gt;<br><br>--<br>View this message in context: <a href="http://www.nabble.com/Extracting-an-boolean-variable-tf3827902.html#a10893103">http://www.nabble.com/Extracting-an-boolean-variable-tf3827902.html#a10893103
</a><br>Sent from the drools - user mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<br><br>_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org">
rules-users@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a><br></blockquote></div><br><br clear="all"><br>-- <br>&nbsp;&nbsp;Edson Tirelli
<br>&nbsp;&nbsp;Software Engineer - JBoss Rules Core Developer<br>&nbsp;&nbsp;Office: +55 11 3529-6000<br>&nbsp;&nbsp;Mobile: +55 11 9287-5646<br>&nbsp;&nbsp;JBoss, a division of Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a>