Hi all,

This is a follow up to the January 2007 
http://groups.google.com/group/openwferu-users/browse_frm/thread/81294030fc52cd04
 
  -- but I cannot convince Google that I'm actually already subscribed  
to this list so I don't know how to reply using the website...

Based on http://openwferu.rubyforge.org/examples/mano_tracker.rb I can  
use the following in Densha:

class Tracker < OpenWFE::ProcessDefinition

   set :f => "creative", :value => "${f:launcher}"
   set :f => "analyst", :value => "alice"
   set :f => "done", :value => "false"

   _loop do
     participant "${f:creative}"
     participant "${f:analyst}"
     _break :if => "${f:done}"
   end
end

This works great: if Bob starts this process, then he keeps getting  
this workitem in his private "users" store, until he or Alice sets  
"done" to true.

However, I'd like to allow multiple analysts to select the task for  
the first analysis, using from some "Analyst" store. Only when someone  
selects the workitem then ${f:analyst} should be fixed (for that  
workitem). As a single analysis activity might take some time, it  
would be great if the workitem is removed from the "Analyst" store as  
soon as someone starts working on the activity...

So: Bob starts the process and completes the first activity. Next,  
both Alice and Charley see the workitem in the public "Analyst" store.  
Now, if Charley is the first to select the task from that store, then  
until the loop is done Bob and Charley will be the ones seeing this  
workitem in their private users store. Alice won't see this item  
anymore.

Can this easily be done in Densha?

Thanks!
Arjan.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenWFEru users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/openwferu-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to