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.   
Your process should look similar to this one:


Selection_027.png

Best Regards,

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Esteban Aliverti
- Developer @ http://www.plugtree.com
- Blog @ http://ilesteban.wordpress.com


On Tue, Apr 12, 2011 at 8:31 AM, Piotrek <piotr.herkt@gmail.com> wrote:
Sorry my fault i haven't said that i mean drools flow forEach element. Like
on the attached image.
http://drools.46999.n3.nabble.com/file/n2811019/test.png

--
View this message in context: http://drools.46999.n3.nabble.com/rule-task-inside-forEach-element-tp2810896p2811019.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users