On Sun, Aug 26, 2012 at 04:05:32PM -0700, Dan Ryan wrote:
>
> (...)
>
> but I would prefer to let the primary app manage
> the process lifecycle from launching a process, tracking its progress, to
> ultimately responding to the workitem results once the process completes.
>
> I would like to hear your opinions on this. Does ruote already provide this
> functionality or a framework for producing one? How do you folks handle
> this? Please let me know if my goal is unclear and I will be sure to
> clarify :)

Hello Dan,

yes this is unclear (at least for me). The techniques you've listed already
cover lots.

There is also

  http://ruote.rubyforge.org/configuration.html#engine_on

that could help, but it's very close to using an observer service.

If I go once again over your "I would prefer" sentence:

> but I would prefer to let the primary app manage
> the process lifecycle from launching a process,

covered by

  Dashboard#launch(pdef, fields)

> tracking its progress, to

covered by

  process_status = Dashboard#ps(wfid)

or by inserting "checkpoint" participants or observing checkpoints.

> ultimately responding to the workitem results once the process completes.

Usually done by placing a "last step" participant or by using an
on_terminate.

(
note: did some work with Hartog on process observation:

  https://github.com/jmettraux/ruote/blob/master/lib/ruote/observer.rb
  
https://github.com/jmettraux/ruote/blob/master/lib/ruote/util/process_observer.rb

maybe this could help
)


Thanks in advance for the clarification,

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