So I have read many posts about when the finally block in a Try Catch is triggered and not.
On this site it says this:
Finally - the activity or set of activities to be performed after the Try and Catches blocks are executed regardless of the result, which means it’ll be executed if an error is caught or no errors occur.
And here:
https://docs.uipath.com/activities/other/latest/workflow/try-catch
Finally - The activity or set of activities to be performed after the Try and Catches blocks are executed. This section is executed only when no exceptions are thrown or when an error occurs and is caught in the Catches section.
Also read this post:
- Will the “Finally” block execute after the “Try” block failed and the “Catches” block was successful?
- Will the “Finally” block execute after the “Try” block failed and the “Catches” block was unsuccessful?
- Will the “Finally” block execute after the “Try” block failed and the “Catches” block was successful but a rethrow or throw was added in the end?