<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I think mic finally understand what you meant and commented in JIRA.
Use a global, all you want is a way to retrieve some value from the
rulebase, which is set/populated in the actions. This is no different
from standard DRL.<br>
<br>
Mark<br>
Hehl, Thomas wrote:
<blockquote
 cite="mid:C0B6B1FACCF8814FBB806879010A85D50582527C@lexexcu00.gs.acs-inc.com"
 type="cite">
  <meta http-equiv="Content-Type" content="text/html; ">
  <meta name="Generator" content="Microsoft Word 11 (filtered medium)">
  <o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PostalCode">
  <o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="State"><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="City">
  <o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place"><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="Street">
  <o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="address"><!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
  <style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
h1
        {margin-top:12.0pt;
        margin-right:0in;
        margin-bottom:3.0pt;
        margin-left:0in;
        page-break-after:avoid;
        font-size:16.0pt;
        font-family:Arial;
        font-weight:bold;}
h2
        {margin-top:12.0pt;
        margin-right:0in;
        margin-bottom:3.0pt;
        margin-left:0in;
        page-break-after:avoid;
        font-size:14.0pt;
        font-family:Arial;
        font-weight:bold;
        font-style:italic;}
h3
        {margin-top:12.0pt;
        margin-right:0in;
        margin-bottom:3.0pt;
        margin-left:0in;
        page-break-after:avoid;
        font-size:13.0pt;
        font-family:Arial;
        font-weight:bold;}
p.MsoCaption, li.MsoCaption, div.MsoCaption
        {margin-top:0in;
        margin-right:0in;
        margin-bottom:6.0pt;
        margin-left:0in;
        font-size:10.0pt;
        font-family:"Times New Roman";
        font-weight:bold;}
p.MsoTitle, li.MsoTitle, div.MsoTitle
        {margin-top:12.0pt;
        margin-right:0in;
        margin-bottom:3.0pt;
        margin-left:0in;
        text-align:center;
        font-size:16.0pt;
        font-family:Arial;
        font-weight:bold;}
p.MsoBodyText, li.MsoBodyText, div.MsoBodyText
        {margin-top:0in;
        margin-right:0in;
        margin-bottom:6.0pt;
        margin-left:0in;
        text-indent:.5in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
p.MsoSubtitle, li.MsoSubtitle, div.MsoSubtitle
        {margin-top:0in;
        margin-right:0in;
        margin-bottom:3.0pt;
        margin-left:0in;
        text-align:center;
        font-size:12.0pt;
        font-family:Arial;}
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";}
p.Code, li.Code, div.Code
        {margin:0in;
        margin-bottom:.0001pt;
        background:#F3F3F3;
        border:none;
        padding:0in;
        font-size:9.0pt;
        font-family:"Courier New";}
span.EmailStyle22
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
  </style><!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
  </o:SmartTagType></o:SmartTagType></o:SmartTagType></o:SmartTagType></o:SmartTagType></o:SmartTagType>
  <div class="Section1">
  <p class="MsoNormal"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">Mark, You made a comment
on my JIRA that I thought I'd
post here for discussion:<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal" style=""><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;">Mark Proctor
commented on
JBRULES-11 55:<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;">---------------------------------------<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal" style=""><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;">anAnwer is a
method/function
that returns a boolean? Must admit I don't understand what you are
trying to do
there. Anyway if all you are trying to do is assign the results of a
function/method call then why not just use an = assignment?<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;">BooleanAnswer =
anAnswer(anAnswer.setAnswer(true)); <o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal" style=""><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;">Any valid java
can used.<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">What I'm really trying to
do is simply return a boolean
from a set of really complicated rules in my decision table. I run
through the
rules and if it passes, I return true.<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">The reason I didn't do
what you suggested above is b/c
there is no documentation to suggest this is valid syntax and, after
several
postings to this list, no one responded to my requests on how to do
this
assignment.<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">So, how do I do an
assignment in a decision table to simply
return a boolean? Otherwise, can you explain the syntax you posted to
me. This
doesn't look like any Java I've seen and I can't make heads
or tails of how it should work.<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">Thanks.<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;"><o:p>&nbsp;</o:p></span></font></p>
  <p><strong><b><font color="black" face="Times New Roman" size="2"><span
 style="font-size: 10pt; color: black;">Thom Hehl</span></font></b></strong><b><font
 color="gray" size="2"><span
 style="font-size: 10pt; color: gray; font-weight: bold;"><br>
  </span></font></b><font color="gray" size="1"><span
 style="font-size: 7.5pt; color: gray;">Sr. eJuror Architect<o:p></o:p></span></font></p>
  <p><strong><b><font color="navy" face="Wingdings" size="2"><span
 style="font-size: 10pt; font-family: Wingdings; color: navy;">)</span></font></b></strong><strong><b><font
 color="navy" face="Times New Roman" size="1"><span
 style="font-size: 7.5pt; color: navy;"> </span></font></b></strong><strong><b><font
 color="gray" face="Times New Roman" size="1"><span
 style="font-size: 7.5pt; color: gray;">Office (859)
277-8800 x 144</span></font></b></strong><font color="black" size="2"><span
 style="font-size: 10pt; color: black;"><o:p></o:p></span></font></p>
  <p><strong><b><font color="navy" face="Wingdings" size="2"><span
 style="font-size: 10pt; font-family: Wingdings; color: navy;">*</span></font></b></strong><strong><b><font
 color="navy" face="Times New Roman" size="1"><span
 style="font-size: 7.5pt; color: navy;"> </span></font></b></strong><strong><b><font
 color="gray" face="Times New Roman" size="1"><span
 style="font-size: 7.5pt; color: gray;"><a moz-do-not-send="true"
 href="mailto:Thomas.Hehl@acs-inc.com">Thomas.Hehl@acs-inc.com</a></span></font></b></strong><strong><b><font
 color="silver" face="Times New Roman" size="1"><span
 style="font-size: 7.5pt; color: silver;"> </span></font></b></strong><b><font
 color="silver" size="1"><span
 style="font-size: 7.5pt; color: silver; font-weight: bold;"><br>
  </span></font></b><strong><b><font color="gray" face="Times New Roman"
 size="1"><span style="font-size: 7.5pt; color: gray;">ACS, Inc.<o:p></o:p></span></font></b></strong></p>
  <p><strong><b><font color="gray" face="Times New Roman" size="1"><span
 style="font-size: 7.5pt; color: gray;">Government Solutions</span></font></b></strong><o:p></o:p></p>
  <p><st1:Street w:st="on"><st1:address w:st="on"><strong><b><font
 color="gray" face="Times New Roman" size="1"><span
 style="font-size: 7.5pt; color: gray;">1733 Harrodsburg Road</span></font></b></strong></st1:address></st1:Street><b><font
 color="gray" size="1"><span
 style="font-size: 7.5pt; color: gray; font-weight: bold;"><br>
  <st1:place w:st="on"><st1:City w:st="on"><strong><b><font
 face="Times New Roman">Lexington</font></b></strong></st1:City><strong><b><font
 face="Times New Roman">, <st1:State w:st="on">KY</st1:State> <st1:PostalCode
 w:st="on">40504-3617</st1:PostalCode></font></b></strong></st1:place></span></font></b><font
 color="gray" size="1"><span style="font-size: 7.5pt; color: gray;"><o:p></o:p></span></font></p>
  <p><strong><b><font color="gray" face="Times New Roman" size="1"><span
 style="font-size: 7.5pt; color: gray;">This e-mail message, including
any
attachments, is for the sole use of the intended recipient(s) and may
contain
confidential and privileged information. Any unauthorized review, use,
disclosure or distribution is prohibited. If you are not the intended
recipient,
please contact the sender by reply e-mail and destroy all copies of the
original message and notify sender via e-mail at <u><a
 moz-do-not-send="true" href="mailto:Thomas.Hehl@acs-inc.com">Thomas.Hehl@acs-inc.com</a></u>
or by
telephone at 859-277-8800 ext. 144. Thank you.</span></font></b></strong><font
 color="gray" size="1"><span style="font-size: 7.5pt; color: gray;"><o:p></o:p></span></font></p>
  <p class="MsoNormal"><font face="Times New Roman" size="3"><span
 style="font-size: 12pt;"><o:p>&nbsp;</o:p></span></font></p>
  </div>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
  </pre>
</blockquote>
<br>
</body>
</html>