All,<br><br>I have a situation where I want the rules execution to stop processing immediately when it encounters a situation like the following:<br><br>rule &quot;Invalid RTV Line&quot;<br>&nbsp;&nbsp;&nbsp; salience 100<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; when
<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; rtvDetailLine : DetailLine(detailRtvNumber:rtvNumber != null, lineNumber != null ) <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; rtvHeader : RtvHeader( rtvNumber != detailRtvNumber )<br>&nbsp;&nbsp;&nbsp; then<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; logger.debug(&quot;Invalid RTV Line&quot;);
<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; throw new RuntimeException(&quot;Invalid RTV Line&quot;);<br>end&nbsp;&nbsp;&nbsp; <br><br>Basically this is a parent child relationship and under some circumstances the process that feeds data into the rules it corrupts this relationship.&nbsp; I want to stop the rules process immediately and do nothing further.&nbsp; As you see above, my first attempt is just throw a runtime exception that is caught/ logged and report by the calling program.&nbsp; Does this seem like a reasonable approach or is there a better approach to do this?
<br><br>Ron<br>