Hello Ddeng,

welcome to the ruote mailing list.

On Mon, Jun 18, 2012 at 06:16:55AM -0700, ddeng wrote:
> As my understanding, worker is a thread that running in
> the background like a daemon process. It tracks the progress of each
> process.

It's more like it executes each step that make up the progress of the
workflow (with the exception of the work happening inside of participants).

> Then an wokitem is done(proceeded), it advance the workflow to the
> next step.

Not really. When a workitem is done/proceed, the participant responds to the
engine/worker which hands the reply to the participant expression which
responds to its parent expression.

If you proceed a workitem emitted by a participant placed last in a chain of
participants, there will be no next step, the process will end (when the
participant expression will have replied to its parent expression which will
have replied to its parent expression, which replies to nobody because it's
the root expression and thus the flow terminates).


Best regards,

--
John Mettraux - http://lambda.io/jmettraux

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

Reply via email to