You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@oozie.apache.org by Tim Goodman <ti...@hooklogic.com> on 2013/02/22 06:50:31 UTC

Can I propagate errors from sub-workflows to the parent workflow?

I have a workflow action with many sub-workflows.  If it's possible, I'd like to handle errors in the parent workflow only (e.g., by sending an email notification), rather than copying this action into every sub-workflow.

However, ${wf:errorMessage(wf:lastErrorNode())} is empty in the parent workflow if the error happened in a sub-workflow.  Is there a way for the parent workflow to retrieve the error message from the sub-workflow?

Thanks,

- Tim


Re: Can I propagate errors from sub-workflows to the parent workflow?

Posted by Alejandro Abdelnur <tu...@cloudera.com>.
Tim,

No, it is not possible today. You may want to open a JIRA to initiate a
discussion on how we could do this.

Thx


On Thu, Feb 21, 2013 at 9:50 PM, Tim Goodman <ti...@hooklogic.com> wrote:

> I have a workflow action with many sub-workflows.  If it's possible, I'd
> like to handle errors in the parent workflow only (e.g., by sending an
> email notification), rather than copying this action into every
> sub-workflow.
>
> However, ${wf:errorMessage(wf:lastErrorNode())} is empty in the parent
> workflow if the error happened in a sub-workflow.  Is there a way for the
> parent workflow to retrieve the error message from the sub-workflow?
>
> Thanks,
>
> - Tim
>
>


-- 
Alejandro