Try Catch doesn't continue on error

I am using the UiPath Studio Web version, I have a try catch to check if a SharePoint Folder exists but when it errors as expected it doesn’t go to the catch unless I manually click on continue button. Is there a continue on error option, I am unable to find this.

8w96s8ki

Hi @Derrick_Rose

There is no option of Continue on error in the Try catch, you have to hit on continue if you got any exception.

Hope it helps!!

I don’t understand what you mean. The fact that I can’t tell it to continue on error defeats the purpose of a try catch. Trying to use a foreach folder loop doesn’t work since it will fail as well if you try to check it with a non-exiting folder name. From what I have read online, it was recommended to use a try catch for this. I don’t see an existing option to check for existing folder option either.

It seems you are running in debug / design mode.
I believe its being said there is no ‘continue on error’ option for studio web whilst in the debug/design mode and you need to actually publish and run the project if you want it to continue on its own.

3 Likes

thank you, I will try that. That make sense.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.