Hi all,
I have a query about the logic of global exception handlers.
In my workflow I use library activities, such as “download report”. My workflow calls this repeatedly until it returns a FileNotFound exception (I use a try/catch for this).
On occasion the download activity will fail for a different reason and it needs to be handled, so I have a global exception handler that currently asks it to retry and then aborts if it still fails after 3 retries.
I’d like to try an application restart before aborting, but I need to understand how the handler works more first.
The way I see there’s two potential flows, either:
A) the library activity fails on activity X, this returns a failure that triggers the GEH. This then retries activity X.
B) the library activity fails on activity X, this returns a failure that triggers the GEH. This then retries the library activity from the start.
Any guidance on how this works would be appreciated, thanks.