On Thu, Sep 13, 2012 at 07:07:29AM -0700, Christophe Malaurie wrote:
>
> (...)
>
> The code above executes well when having to call the subprocesses (delete
> and create) via the engine_variables, as stated in the doc.
> Now I'm trying to put error handling in a "common" subprocess so I try to
> use a subprocess invocation in the *on_error* attribute.

Hello Christophe,

let me confirm, do you do this by writing?

  engine.variables['create'] = Ruote.process_definition :name => 'create',
:on_error => 'handle_issue' do

> And it does not work as I should see the task *handle_issue* in the output,
> which is not the case.

What's happening then? Is the process terminating? Any piece of info that
could help?

> Is it possible to do so or do I have to use the define 'handle_issue' in
> all processes and subprocesses?

It should be possible, unless you're doing something weird (back to my
confirmation question).


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