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(a)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-no...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)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 -