Which version of drools are you using? Try adding a Start Node and an End Node inside your For Each Node. Connect the internal Start Node to your Rule Node and the Rule Node to the internal End Node. For the internal End Node, make sure it is configured as non-terminating. <div>
Your process should look similar to this one:<br><br><br><img src="https://mail.google.com/mail/u/0/?ui=2&ik=5dc615f160&view=att&th=12f4ec379146acbc&attid=0.2&disp=attd&realattid=ii_12f4ec16ca55f687&zw" alt="Selection_027.png" title="Selection_027.png"><br clear="all">
<br>Best Regards,</div><div><br></div><div>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 Tue, Apr 12, 2011 at 8:31 AM, Piotrek <span dir="ltr"><<a href="mailto:piotr.herkt@gmail.com">piotr.herkt@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Sorry my fault i haven't said that i mean drools flow forEach element. Like<br>
on the attached image.<br>
<a href="http://drools.46999.n3.nabble.com/file/n2811019/test.png" target="_blank">http://drools.46999.n3.nabble.com/file/n2811019/test.png</a><br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/rule-task-inside-forEach-element-tp2810896p2811019.html" target="_blank">http://drools.46999.n3.nabble.com/rule-task-inside-forEach-element-tp2810896p2811019.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>