Try & Catch with Path exists

Does Try & Catch work with path exists? Even when the file does not exists, it does not go into the “Catch” section. In the catch section, I have to exception, one which catches for null and the other is the generic error.

[PathExists] activity only returns a boolean, not any type of exception.
If you want to handle it with an exception, throw a custom exception if the result is false.


1 Like