I’ll try the steps and get back to you, thanks for your reply!
EDIT: So i tried it with another application (notepad) same issue occurred!
so i dove into the logs found some indicating it was the URI so i tried that trick with new URI(path to app) etc to no avail…
Then i found out that: The activity acts normal only the 1st run
so when i close UIPath, Reopen it and open the project and then run all goes ok.
a screenshot of project settings UI Automation Moden → Application/Browser section
Please keep in mind that the default setting for OpenMode is IfNotOpened, so, if the previous wf run did not close the application (Close = Never), and the app is still alive, than, on the next wf run, the “Use Application” will attach to the live instance, instead of opening one.
If you want to always open a new instance of the target application, then ensure that OpenMode is set to Always