<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Calibri" size="2"><span style="font-size:11pt;">
<div>I&#8217;m looking for a little help on a problem we can&#8217;t figure out with some DSL errors during a build.&nbsp; We&#8217;re working with version 5.3.0.Final on RSA 7.5.5.</div>
<div><font face="Times New Roman">&nbsp;</font></div>
<div>The offending line of DSL is on the rule is:</div>
<div>&nbsp;</div>
<div>Write qualifyingPoints on Result as $var01 * $var02</div>
<div><font face="Times New Roman">&nbsp;</font></div>
<div>$var01 and $var02 are variables set in the WHEN part of this rule.</div>
<div><font face="Times New Roman">&nbsp;</font></div>
<div>The offending line of code is translating to:</div>
<div><font face="Times New Roman">&nbsp;</font></div>
<div>modify (Result){qualifyingPoints = $var01 * $var02};</div>
<div><font face="Times New Roman">&nbsp;</font></div>
<div>When I execute the program that calls this rule, if fails during the build process with the following:</div>
<div>&nbsp;</div>
<div><font face="Courier New" size="2" color="red"><span style="font-size:10pt;">Unable to Analyse Expression @Modify with (Result){qualifyingPoints = $var01 * $var02 };</span></font></div>
<div><font face="Courier New" size="2" color="red"><span style="font-size:10pt;"> [Error: java/lang/String.isEmpty()Z]</span></font></div>
<div><font face="Courier New" size="2" color="red"><span style="font-size:10pt;">[Near : {... @Modify with (Result){qualifyingPt ....}]</span></font></div>
<div><font face="Courier New" size="2" color="red"><span style="font-size:10pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^</span></font></div>
<div><font face="Courier New" size="2" color="red"><span style="font-size:10pt;">[Line: 1, Column: 9] : [Rule name=Qualifying Points rule 1']</span></font></div>
<div><font face="Times New Roman" color="red">&nbsp;</font></div>
<div>If I modify the code to use an assignment and update instead of modify, it will build without an error:</div>
<div><font face="Times New Roman">&nbsp;</font></div>
<div>Result.setQualifyingPoints(  $var01 * $var02 );update (Result);</div>
<div><font face="Times New Roman">&nbsp;</font></div>
<div>Note that we only see this behavior on RSA.&nbsp; We do not see it on Eclipse (but we need to use RSA).&nbsp; </div>
<div><font face="Times New Roman">&nbsp;</font></div>
<div>I didn&#8217;t find anything online so I thought I&#8217;d check to see if this is something someone has seen before. </div>
<div>&nbsp;</div>
<div>Thanks!</div>
<div><font face="Times New Roman">&nbsp;</font></div>
<div><font face="Times New Roman">&nbsp;</font></div>
</span></font>
</body>
</html>