On 09/10/2012, joy <Kripa_M01(a)infosys.com> wrote:
Hi
If am declaring a map as global variable. global java.util.Map map
In the "then" part of rule 1 am putting a key n value into map
Is it possible to get the value using the key from the "then" part of rule
2?
Not necessarily so: only if rule 1 fires before rule 2, which may or
may not happen.
Do i want to update,insert like any thing on global variable?
or
How is it possible for rule engine to identify the changes in global
variable tht shud be reflected on other rule!
This is answered in the documentation, section 4.5.2., global.
-W
Regards
joy
--
View this message in context:
http://drools.46999.n3.nabble.com/Local-Variable-tp4020144p4020173.html
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