I have a Parent WorkFlow called “Main” with “Try Catch”. In “Try” activity it is calling “Child WorkFlow(Child 1)”, which has Try Catch of it’s own. And Child has its own child and so on.
If there is any Error in Child, I want it Pass Directly to “Main’s Catch” and Execute whatever is there and Ignore all the Child Error.
Any Error in Child it should handled in Main and not Child.
I tried with Throw activity, But it still shows error from Child’s Catch.
I want to display Common Error Message for all Error Occuring.
Hi all,
I too need to know the answer for the question asked by @Arthi_Ganeshprasad, can anyone suggest the answer with explanation please. Thank you
In each child workflow’s Catch block, use the Rethrow activity instead of the Throw activity. The Rethrow activity rethrows the exception caught in the child workflow, allowing it to propagate up the workflow hierarchy.
In the “Try” block of the “Main” workflow’s Try-Catch block, call the child workflow using the “Call Workflow” activity.
In the “Catch” block of the “Main” workflow’s Try-Catch block, add the desired actions to be executed when any error occurs in the child workflows.
Hope it helps!!