Hi guys, I have a process in which, I need to throw a System exception inside the BRE Catch of Process transaction. I added a try catch in BRE Catch and it’s able to catch it successfully, but I want to catch it as SE and not BRE. I’ll appreciate any advice
Use a throw inside and set New System.Exception(exception)
You can try with
New SystemException("Your Message")
Hey @Sudharsan_Ka do you mean I should rethrow as System exception in catch of try catch of BRE?
You cant rethrow as another type of exception
you need to use throw activity @Anived_Mishra
Okay, thank you. I’ll try and let you know
You need to provide that inside Try catch (i.e. Catch block in BRE should also be inside the Try Catch )
Use the throw in the try block and catch that as System.Exception in BRE catch block
Thank you, I was able to assign Business exception to nothing and then bot was able to assign the exception to System exception!
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.