On Fri, Apr 3, 2009 at 4:08 PM, Makarand <[email protected]> wrote:

>
> Hi,
>
> Is there any way you suggest to run "iterator" on records from
> database ( ActiveRecord) in route ?
>
>
Hi Makarand

Without much context I assume two things, which end up begin the same:

* You want to apply the same process for each record
* You want a process to loop over each record

For the first, simply launch a process for each record found. We have
processes that we fire off as part of an action applied to a hierarchy, and
ruote handles these couple of hundred processes just fine.

For the second I have no real idea, except a guess. John will have to
correct me here. You can pass all your records as payload for the process
(launch one process) and have the "iterator" (iirc) statement loop over them
to perform the steps. Thinking about it now this might be very powerful, I'm
gonna do some more reading on the iterator...

Hope this helps, but you need to give us some more info to be able to really
help you.

Best!

-- 
Kenneth Kalmer
[email protected]
http://opensourcery.co.za

--~--~---------~--~----~------------~-------~--~----~
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to