On Thu, Apr 24, 2008 at 6:22 PM, Arjan van Bentem
<[EMAIL PROTECTED]> wrote:
>
>    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 simply letting the workitem in the journalist or redaction store
is sufficient for you.

Each time a user works with a workitem, it gets locked, other users,
cannot edit it. So while a journalist is modifying an item, the
redactors can't touch it.

The user can then simply save the workitem (with potentially some new
values). The workitem remains in the [group] store and other users
that have access to the store and edit that workitem.

Wouldn't that be sufficient ?

Of course, there is a timeout for that lock mechanism.

"Participants" are really abstract things, for the workflow engine
itself it's a point where the flow gets potentially "off limits".
Within densha, it happens that some participant names where bound to
workitem stores, fleshing the concept a bit. And there is this special
"users" store where workitems whose participant name maps to a user
get dropped.


Your questions (and suggestions) are welcome, cheers,

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