It would be &quot;polite&quot; to have it:<div><br></div><div>Rule &quot;Cleanup Rule&quot;</div><div>salience -999</div><div>rule-flow-group &quot;your group&quot;</div><div>when </div><div>  $g: Guard()</div><div>then</div>

<div>   retract($g);</div><div>end</div><div><br></div><div>The low salience will make activations of this rule to be executed at the end of the execution cycle.</div><div><br></div><div>Best Regards,<br clear="all"><br>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br>
<br>Esteban Aliverti<br>- Developer @ <a href="http://www.plugtree.com" target="_blank">http://www.plugtree.com </a><br>- Blog @ <a href="http://ilesteban.wordpress.com" target="_blank">http://ilesteban.wordpress.com</a><br>


<br><br><div class="gmail_quote">On Thu, Jun 2, 2011 at 5:34 AM, HMandic <span dir="ltr">&lt;<a href="mailto:trbuhom@net.hr">trbuhom@net.hr</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Thanks, it worked.<br>
<br>
Is cleaning up the session necessary?<br>
How would that rule look like?<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Problem-with-sub-process-rules-inside-multiple-instances-tp3009981p3014310.html" target="_blank">http://drools.46999.n3.nabble.com/Problem-with-sub-process-rules-inside-multiple-instances-tp3009981p3014310.html</a><br>


</font><div><div></div><div class="h5">Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</div></div></blockquote></div><br></div>