Hi,

I'm new to ruote. Started using it a couple of hours ago.

I was wondering if it is possible to use workitem data in my process 
definition. My system is supposed to download a file from e.g. a git 
repository and upload it to a number of app servers. I have a participant 
get_destination_systems that figures out an array of system hostnames where 
the file is to be uploaded to. I then have a package_upload participant 
that can upload the package to one system. I'd like to have multiple 
uploads run in parallel so I tried using the concurrence expression and now 
ended up using the citerator expression.

My pdef looks like this:

  get_destination_systems
  package_download
  citerator :merge_type => :concat, :on_val => 'srv1, srv2, srv3', :to_var 
=> 'v' do
    participant 'package_upload_${v:v}'
  end

Now instead of specifying 'srv1, srv2, srv3' I'd like to iterate over the 
array of systems that I build in get_destination_systems and supply the 
name of the system as an argument to package_upload. Is there a way to do 
that? Or am I using it wrong and shouldn't have that as part of the pdef at 
all? What is a proper way to achieve this?

Thanks!

-- Lukas

-- 
-- 
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.


Reply via email to