I am using a For Each UiElement activity. There are about 300 elements that the process goes through. Occasionally, the screen on which the elements appear, takes too long to load and the activity times out. I have added a longer timeout period but I would also like the bot to refresh the page when it can’t find the next element.
Refresh gets the screen to come back, however the “CurrentElement” variable then changes because of the new session ID within the attributes. How can I make the “CurrentElement” variable, within the for each UiElement activity, dynamic?
Here is a screenshot with what the CurrentElement variable looks like. It’s the highlighted bit that is changing when the page is refreshed.