On Tue, Dec 13, 2011 at 07:28:46AM -0800, R Law wrote:
>
> > What about making those steps explicit in the process definition ?
> >
> > ---8<---
> > sequence do
> >   copy_info_over
> >   human :unless => '${info}'
> > end
> > --->8---
>
> Is "copy_info_over" a participant?

Hello,

it could be participant or a subprocess. To make it more definite:

---8<---
sequence do
  participant 'copy_info_over'
  participant 'human' :unless => '${info}'
end
--->8---

> If so I still have to implement a
> custom participant, right?

Yes.

> Is there any advantage to having many
> participants that handle small tasks over having fewer that handle
> bigger tasks?

Non-exhaustive lists:

Advantages:

- can be reused in multiple process definitions
- simpler to implement (easier to think about how to deal with cancel calls)

Disadvantages:

- process definition gets too detailed (but subprocesses can be used to keep
  the flow readable)


Best regards,

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

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