<div dir="ltr">Hi,<br><br>I would like to return to the Fact object the rule id that was caught<br><br>my facts class has a memeber<br><br>String caughtRule;<br><br>and set and get<br><br>setCaughtRuleId (String s) { caughtRule= s;}<br>
String getCaughtRuleId () {return caughtRule;}<br><br><br>my rule looks like:<br><br>rule &quot;01&quot;<br>salience 100<br>activation-group &quot;mygrp&quot;<br>    no-loop true<br>    when<br>        d : CFactClass(   someMember matches &quot;some-string&quot;);<br>
<br>    then<br>        System.out.println(&quot;01 caught&quot;);<br>        d.setCaughtRuleId(&quot;01&quot;);<br>        d.setCaught();<br>end<br><br><br>when the rule is fired i see the the setCaught() worked (its a boolean variable) but the setCaughtRuleId methids return empty string...<br>
<br>any ides?<br><br>Thanks<br>Nadav,.<br><br></div>