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


Is there a way to indicate Uipath to continue/skip the task whenever it encounters the “Could not find the user-interface (UI) element for this action” error?

For example: I have a list of projects that should have an invoice. If the invoice has a status that is “paid” the bot would go back to the project and change the project status to “paid”. However, there’s the case when there’s a project without an invoice, so there’s no result, and we get this error. How can we do to have the bot do something else than stalling.

Thanks a bunch!

If you set the “ContinueOnError” property, it will skip over it, if it is unable to find the element.

There are also approaches in some cases where you would want to use an Element Exists then follow with an IF activity, however I’m not sure if StudioX has that capability yet.

EDIT: Also, keep in mind that it will wait until the Timeout property is reached before skipping it, so set that timeout according to how the page or element should load.

Thank you, Clayton! It worked!

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