If Error Skip to Next Row/to Step X

Hi, I have a “for each excel row” process, and I want to set a “Continue on error” process. I want to either
a) skip the error encountered immediately and proceed to the next row
b) skip to a process further down the line

I am currently using studioX but I am ok to use studio if required. Tried using try catch but I couldn’t find the correct exception to catch for the following:

Could not find the user-interface (UI) element for this action.

Hi @Glenn_Tan

I recommend using RE Framework


Hi @Glenn_Tan

User interface will mostly comes under the selector not found exception.


1 Like

Hey @Glenn_Tan

Try Catching the Selector not found exception in a catch block.

For each row
Try catch surrounded
Inside the body the activity which you are using.
catch selector not exception.
Skips row and iterate next.


Hey @Glenn_Tan , I’m having similar issues catching the same exception in a for each loop. I just get a regular popup error screen and it’s not moving to the next row. How did you solve this? Any screenshots would be super helpful, and appreciated.

Hey @pravin_calvin . What do you mean by “catch selector not exception”? Thank you.

Hey @jon4378 , I used try catch, System.Exception to catch the error. Hope it helps!

Thank you @Glenn_Tan . Yes that is what I’ve been trying to use, but after much feedback from other members, I cannot seem to resolve my issues. If you have a moment to read through my issue, maybe you’d have some fresh troubleshooting ideas? Much appreciated!