I am facing issue i am using reframework for my project, i built a workflow, in that i through the businessrule exception in catch block i given businessexception and add the log message along with rethrough activity, but here when it came out of that workflow when it comes to it parent workflow there it is running next activities instead of throwing the error it executing the other activities.
It’s because you used Try Catch and in catch it’s expected to handle the exception. If you want to throw that exception to the parent flow, use Rethrow activity in the catch block and you should have the exception in parent workflow as well.
Did you use a Rethrow activity inside the Catch block where you want the throw the exception?
After that, make sure the parent workflow is also Sorrounded by Try-Catch. In the parent workflow’s Catch block, use another Rethrow activity.
This ensures that the exception raised in the child workflow is properly propagated to the parent workflow, allowing you to identify where the exception originally occurred.
Check whether the parent workflow (or the workflow that invoked this one) has a Try Catch around the Activities. If the Catch block doesn’t use Rethrow or Throw, the exception is considered handled, and execution continues with the next activity.
Also, Check if the activity properties inside the Try block has ContinueOnError = True. If so, then any exception from the child workflow is ignored, and the parent continues executing.