[rules-users] Process Compilation Error: Drools can not be resolved

Mauricio Salatino salaboy at gmail.com
Tue Aug 20 07:43:31 EDT 2013


The kcontext is a special variable of the type RuleContext. If you take a
look at that interface and all the inheritance you will find out which
methods you can use.
You can do something like:
kcontext.getKnowledgeRuntime().getObjects() and then look for the HashMap.
I'm not sure what do you want to achieve.. but as you may notice this is
not a clean solution.. you probably can change the shape of your solution
to something better, if you share with us what are you trying to achieve,
maybe we can help.

Cheers



On Tue, Aug 20, 2013 at 12:33 PM, V Vignesh <vignesh_v at solartis.net> wrote:

> Hi Mauricio
>
> Thanks a lot buddy.
> I would like to know how this syntax functions.
> If i need the HashMap from process Test.java (as i have mentioned first)
> how should i alter this line?
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Process-Compilation-Error-Drools-can-not-be-resolved-tp4025623p4025625.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>



-- 
 - MyJourney @ http://salaboy.com <http://salaboy.wordpress.com>
 - Co-Founder @ http://www.jugargentina.org
 - Co-Founder @ http://www.jbug.com.ar

 - Salatino "Salaboy" Mauricio -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20130820/490e7824/attachment.html 


More information about the rules-users mailing list