The UI element is no longer valid - Find children activity

Hi all,

I am facing the following issue:

After using ‘Find children’ activity I’m looping through the found children using ‘for each’ activity. In that ‘for each’ activity I use another ‘find children’.

It works properly for the first child, however, even if the selector of the second child is correct (UI explorer validates it) I get the following error: Find children: The UI element is no longer valid.

Can someone help me to solve this?

Thanks in advance.

Hi Please check if this thread helps you.

Uielement no longer valid - Help - UiPath Community Forum