I got it working like this:
concurrent_iterator :on_field => 'coauthors', :to_field =>
'ca', :tag => 'coauthor_forms' do
concurrence do
participant 'coauthor-${ca}', :task =>
'complete_information', :unless => '${ca}_info_present'
participant 'coauthor-${ca}', :task => 'submit_copyright'
participant 'coauthor-${ca}', :task => 'submit_disclosure'
end
end
Then I pass an array of coauthor emails into the params. Since email
addresses are much easier to read than IDs, I chose to remove the
extra dollar notations.
It's working beautifully now. Thanks so much for the help (and of
course the excellent work on creating this workflow engine in the
first place)!
On Dec 14, 8:45 pm, John Mettraux <[email protected]> wrote:
> Hello,
>
> this works too with arrays:
>
> ---8<---
> concurrent_iterator :on_field => 'coauthors', :to_field => 'ca' do
> --->8---
>
> Best regards,
>
> --
> John Mettraux - http://lambda.io/processi
--
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