I’m facing an intermittent issue while using the Get Text at Position activity in UiPath.Terminal.Activities. Occasionally, the activity throws a timeout or not connected error. However, when I retry the same transaction item, the activity executes successfully without any issues.
This problem occurs only for a few items and is not consistent. I am using the EHLLAPI emulator method with package version 2.9.0, and I have also tested with 2.8.2, but the behavior remains the same.
The same activity is used in multiple places within my workflow, and the error appears randomly in different sections each time.
Has anyone experienced similar intermittent failures or found a stable approach to handle this? Any suggestions would be helpful.
As per my knowledge ,Wrap the Get Text at Position activity in a Try–Catch and use a Retry Scope with 2–3 attempts and short delays. In the Catch block, disconnect and reconnect the EHLLAPI terminal session before retrying. Ensure no heavy parallel processes are running that may interfere with the terminal. Optionally, consider using UI automation mode for more stability.