Hi,
I am setting a String variable as global. And trying the access the same in
my Java program. Can anyone help on how to do this.
code snippet:
global String prodName;
rule "Your First Rule"
when
#conditions
eval (true)
then
#actions
prodName= getName();
System.out.println( "name:" +prodName);
end
Thanks,
Rajiv.
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/accessing-a-drools-va...
Sent from the Drools - User mailing list archive at
Nabble.com.