<div dir="ltr">Yeah, that&#39;s because &quot;<span style="font-family:arial,sans-serif;font-size:13px">drools&quot; doesn&#39;t exist. </span><div style><span style="font-family:arial,sans-serif;font-size:13px">I think that you can use the kcontext, in order to do that..</span></div>

<div style><font face="arial, sans-serif">Try something like: </font></div><div style><font face="arial, sans-serif"><br></font></div><div style><font face="arial, sans-serif">kcontext.getKnowledgeRuntime().getFactHandles() instead of  </font><span style="font-family:arial,sans-serif;font-size:13px">drools.getWorkingMemory().</span><span style="font-family:arial,sans-serif;font-size:13px">getFactHandles()</span></div>

</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Aug 20, 2013 at 11:42 AM, V Vignesh <span dir="ltr">&lt;<a href="mailto:vignesh_v@solartis.net" target="_blank">vignesh_v@solartis.net</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi guys,<br>
<br>
I am new new to Rule Flow.<br>
I am using eclipse for rule flow.<br>
<br>
In a new Drools-Project<br>
in ProcessTest.java<br>
I tried to insert a HashMap in a knowledge base session<br>
-------------------------------------------------------<br>
HashMap hMap = new HashMap();<br>
            hMap.put(&quot;Id&quot;, &quot;10&quot;);<br>
            hMap.put(&quot;RollNumber&quot;, &quot;456&quot;);<br>
            FactHandle qMapHandle = ksession.insert(hMap);<br>
            ksession.startProcess(&quot;sample.ruleflow&quot;);<br>
            ksession.fireAllRules();<br>
------------------------------------------------------<br>
<br>
but in my ruleflow.rf<br>
I added a script Task<br>
when in its Action, i tried accessing this fact Handle i get an error<br>
&quot;Drools cannot be resolved&quot;<br>
---------------------------------------------<br>
if(drools.getWorkingMemory().getFactHandles()){<br>
System.out.println(&quot;Inside the Script Task&quot;);<br>
}<br>
---------------------------------------------<br>
<br>
Can you please help me to figure out the Reasons for Compilation Error<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Process-Compilation-Error-Drools-can-not-be-resolved-tp4025623.html" target="_blank">http://drools.46999.n3.nabble.com/Process-Compilation-Error-Drools-can-not-be-resolved-tp4025623.html</a><br>


Sent from the Drools: User forum mailing list archive at Nabble.com.<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" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"> - MyJourney @ <a href="http://salaboy.wordpress.com" target="_blank">http://salaboy.com</a><div> - Co-Founder @ <a href="http://www.jugargentina.org" target="_blank">http://www.jugargentina.org</a><br>

 - Co-Founder @ <a href="http://www.jbug.com.ar" target="_blank">http://www.jbug.com.ar</a><br> <br> - Salatino &quot;Salaboy&quot; Mauricio -</div></div>
</div>