First of all: you're right, the pick function works fine, and is a  
great enhancement I think, especially for activities that take some  
time to complete.

But some processes may have recurring usage of the same store. For  
those, if some user picks the first activity from that store, then  
whenever the same store is used in the process definition then I'd  
like the same user to handle that. I think I should have added  
activities to make it clear:

   set :f => "subject", :value => ""
   set :f => "article", :value => ""
   set :f => "comment", :value => ""

   sequence do
     redaction :activity => "request new newspaper article (sets field  
'subject')"
     journalist :activity => "write (sets field 'article')"
     redaction :activity => "comment (sets field 'comment')"
     journalist :activity => "revise (changes field 'article')"
     redaction :activity => "approve"
   end

Now if both Alice and Bob work at the newspaper redaction, and Charley  
and Eve are journalists, then if Bobs asks for a new article, then he  
should also be the one to comment on the article and finally approve  
it. If Eve picks the article to actually write it, then she should  
also revise it.

Maybe I just don't grasp the role of participants here?

Arjan.




On Apr 24, 2008, at 10:18 AM, John Mettraux wrote:

>
> On Thu, Apr 24, 2008 at 5:14 PM, Arjan van Bentem
> <[EMAIL PROTECTED]> wrote:
>>
>>> http://github.com/jmettraux/ruote-web/commit/74f4fab426f0a7f10614d27b9fe9ae04122b6333
>>
>>
>> Ok, almost, but not quite yet when using loops I think. How would one
>> change the following then?
>>
>>
>>  _loop do
>>     participant "${f:creative}"
>>     participant "${f:analyst}"
>>     _break :if => "${f:done}"
>>   end
>
> Sorry, not sure to understand exactly. The "pick" feature is dead
> simple, it steals a workitem from a classical store and puts it into
> the "users" store.
>
> It should work fine for cases where processes are putting workitems in
> {classical|group} stores and users are stealing them.
>
> Do you need a "putback" (delegate) feature ?
>
> -- 
> John Mettraux - http://jmettraux.wordpress.com
>
> >


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