Hello all!
Basically, I’m using a Studio template that has built-in error handling; all of my XAMLs are contained within an upstream catch block, so anything I throw within my process XAMLs will be caught accordingly.
In my TryCatch, I really “Catch” two types of exceptions; System and BusinessRuleException (the latter only when applicable). Regarding System exceptions, I originally was using an error-level log and inserting the message as exception.Message, but the bot obviously is moving past that and not stopping as it would when an error is thrown.
So, I would like to replace that log message with a “Throw” activity where I’d insert something like New Exception(exception.Message) so the bot would actually skip to the next transaction.
Is this acceptable? Thoughts on this?
[EDIT]
To specify, I do NOT use a “throw” activity in the Try block for system exceptions