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
