I need to know best practices for file not found exception or the file exists or not

Hi All,

I want to know all the best practices for file not found exception or the file exists or not scenarios .

How to handle those by best way in REframework and normal flowchart or sequences.

Hi @amruta_pawar, in an RE framework or normal flowchart, you can use the activity “Path Exists” to check if a file exists or not prior to using it. If it does not exist, you can Throw an Exception. This can be done with the help of a TryCatch block as well. You can find some more info here:

1 Like