<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";
        color:windowtext;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";
        color:black;}
pre
        {margin:0in;
        margin-bottom:.0001pt;
        background:#F4F4F4;
        border:none;
        padding:0in;
        font-size:12.0pt;
        font-family:"Courier New";
        color:black;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:Arial;
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
 /* List Definitions */
 @list l0
        {mso-list-id:1654679358;
        mso-list-template-ids:422322824;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=3 face=Arial><span style='font-size:12.0pt;
font-family:Arial'>Hi,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face=Arial><span style='font-size:12.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=3 color=black face=Arial><span style='font-size:12.0pt;
font-family:Arial;color:windowtext'>I&#8217;ve been reading the Drools
documentation where it is mentioned that &#8220;</span></font><font
color=black face=Arial><span lang=EN style='font-family:Arial;color:windowtext'>It
is strongly discouraged to set (or change) a global value from inside your
rules. We recommend to you always set the value from your application using the
working memory interface.&#8221; What is the reason for this?<o:p></o:p></span></font></p>

<p><font size=3 color=black face=Arial><span lang=EN style='font-size:12.0pt;
font-family:Arial;color:windowtext'>Also, in the example shown, are you not
modifying the global? Isn&#8217;t it what is discouraged?<o:p></o:p></span></font></p>

<div style='mso-element:para-border-div;border:solid #CCCCCC 1.0pt;padding:
4.0pt 4.0pt 4.0pt 4.0pt;background:#F4F4F4;margin-left:.25in;margin-right:0in'><pre
style='margin-left:.25in;text-indent:-.25in;mso-list:l0 level1 lfo1;background:
#F4F4F4'><![if !supportLists]><font size=2 color=black face=Symbol><span
lang=EN style='font-size:10.0pt;font-family:Symbol'><span style='mso-list:Ignore'>&middot;<font
size=1 face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></font></span></span></font><![endif]><span
lang=EN>global java.util.List myGlobalList;<o:p></o:p></span></pre><pre
style='margin-left:.25in;text-indent:-.25in;mso-list:l0 level1 lfo1;background:
#F4F4F4'><![if !supportLists]><font size=2 color=black face=Symbol><span
lang=EN style='font-size:10.0pt;font-family:Symbol'><span style='mso-list:Ignore'>&middot;<font
size=1 face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></font></span></span></font><![endif]><span
lang=EN><o:p>&nbsp;</o:p></span></pre><pre style='margin-left:.25in;text-indent:
-.25in;mso-list:l0 level1 lfo1;background:#F4F4F4'><![if !supportLists]><font
size=2 color=black face=Symbol><span lang=EN style='font-size:10.0pt;
font-family:Symbol'><span style='mso-list:Ignore'>&middot;<font size=1
face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></font></span></span></font><![endif]><span
lang=EN>rule &quot;Using a global&quot;<o:p></o:p></span></pre><pre
style='margin-left:.25in;text-indent:-.25in;mso-list:l0 level1 lfo1;background:
#F4F4F4'><![if !supportLists]><font size=2 color=black face=Symbol><span
lang=EN style='font-size:10.0pt;font-family:Symbol'><span style='mso-list:Ignore'>&middot;<font
size=1 face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></font></span></span></font><![endif]><span
lang=EN>when<o:p></o:p></span></pre><pre style='margin-left:.25in;text-indent:
-.25in;mso-list:l0 level1 lfo1;background:#F4F4F4'><![if !supportLists]><font
size=2 color=black face=Symbol><span lang=EN style='font-size:10.0pt;
font-family:Symbol'><span style='mso-list:Ignore'>&middot;<font size=1
face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></font></span></span></font><![endif]><span
lang=EN>&nbsp;&nbsp;&nbsp;&nbsp;eval( true )<o:p></o:p></span></pre><pre
style='margin-left:.25in;text-indent:-.25in;mso-list:l0 level1 lfo1;background:
#F4F4F4'><![if !supportLists]><font size=2 color=black face=Symbol><span
lang=EN style='font-size:10.0pt;font-family:Symbol'><span style='mso-list:Ignore'>&middot;<font
size=1 face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></font></span></span></font><![endif]><span
lang=EN>then<o:p></o:p></span></pre><pre style='margin-left:.25in;text-indent:
-.25in;mso-list:l0 level1 lfo1;background:#F4F4F4'><![if !supportLists]><font
size=2 color=black face=Symbol><span lang=EN style='font-size:10.0pt;
font-family:Symbol'><span style='mso-list:Ignore'>&middot;<font size=1
face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></font></span></span></font><![endif]><span
lang=EN>&nbsp;&nbsp;&nbsp;&nbsp;myGlobalList.add( &quot;Hello World&quot; );<o:p></o:p></span></pre><pre
style='margin-left:.25in;text-indent:-.25in;mso-list:l0 level1 lfo1;background:
#F4F4F4'><![if !supportLists]><font size=2 color=black face=Symbol><span
lang=EN style='font-size:10.0pt;font-family:Symbol'><span style='mso-list:Ignore'>&middot;<font
size=1 face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></font></span></span></font><![endif]><span
lang=EN>end<o:p></o:p></span></pre></div>

<p><font size=3 color=black face=Arial><span lang=EN style='font-size:12.0pt;
font-family:Arial;color:windowtext'>Thanks,<o:p></o:p></span></font></p>

<p><font size=3 color=black face=Arial><span lang=EN style='font-size:12.0pt;
font-family:Arial;color:windowtext'>Seema<o:p></o:p></span></font></p>

<p><font size=3 color=black face="Times New Roman"><span lang=EN
style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>