The UiElement is no longer valid appears a lot after upgrading to 22.4

Hello

I am experiencing a lot of errors “The UiElement is no longer valid” after upgrading to 22.4.
The processes has been working for several months up to this.

Has something relevant to this changed with the new update?
It is typically regarding a “Find element” activity nested inside a for each loop.

1 Like

Hello @SorenB ,

Did you updated the dependency packages? if not please update all the dependencies.

All dependencies are up-to-date.

Did you find a solution to this issue? I am facing the same issue, also after updating to 2022.4.1.
I raised a ticket at uipath and had a call with them on this, but untill now still inconclusive.

Curious if you are any further on this?
Tomorrow i will have a follow up with them, I will let you know if something will come out of this.

Hi Bob,

I found a temporary solution, rolling back to the uiautomation 21.10.7 activities. But this is not a final solution to me, will keep you updated.

1 Like

I’ve faced the same issue with ‘Type Into’ activity and downgrading the UIAutomation activities package to 21.10.7 helped.