On Sat, Jul 06, 2013 at 09:15:01AM -0700, Lukas Loesche wrote: > > I have a concurrent iterator > > citerator on: '$f:deployments', to: deployment > do_deployment > > Is there a way to have a counter be assigned to a field that I can access > within the participant? > > Sort of like > i=0 > citerator on: '$f:deployments', to: deployment, i+=1, to: counter > do_deployment > > Or some other way for do_deployment to know which 'number' in the iteration > it is?
Hello Lukas, ok, so http://ruote.rubyforge.org/exp/concurrent_iterator.html mentions the "ii" var. You could do ```ruby citerator on: '$f:deployments', to: deployment do_deployment counter: '$v:ii' ``` Best regards, -- John Mettraux - http://lambda.io/jmettraux -- -- 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 --- You received this message because you are subscribed to the Google Groups "ruote" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
