Re: [ruote:3578] Sending on email on error and retrying

21 views
Skip to first unread message

John Mettraux

unread,
Jun 14, 2012, 4:01:13 PM6/14/12
to openwfe...@googlegroups.com

On Thu, Jun 14, 2012 at 12:49:34PM -0700, SteveG wrote:
>
> (snip)
>
> If there is no on_error option, and inventory_service fails, I can use the
> engine's replay_at_error method and pass in the error once the Inventory
> Web Service comes back up.
>
> If I have the on_error option and there is an error, then the process stops
> at error_notifier. I am not sure how to get back to the main flow at the
> point where it failed.

Hello Steve,

welcome to ruote's mailing list.

Could Dashboard#on_error help?

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

It lets you trigger participant / workflows each time an error happens in
your ruote system. You could notify your admin there and then let him use
something like replay_at_error.


Best regards,

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

SteveG

unread,
Jun 14, 2012, 4:41:59 PM6/14/12
to openwfe...@googlegroups.com
That works fine, thanks John. 

It looks like that I can even get the details of the error in workitem.fields["__error__"]
Reply all
Reply to author
Forward
0 new messages