Cannot bring the target application in the foreground. RemoteException wrapping UiPath.Core.ElementOperationException: Cannot bring the target application in the foreground.
I am able to run the process when my system is in interactive mode same not working when I Triggered and locked the system.
Using Community Edition and trying to automate UI Application
Version : 2022.4.4
For the running the process while the screen is locked you must have an unattended license
if you need a license you contact sales team
Try with unattended robot.
The unattended robot need license ( cost applicable ) ? I configured 1 unattended robot which is default for community edition. It’s working good when I triggered manually and have open session.
My friends are using Ui Path for similar behavior but they using little old version.
As per my understanding, if you need to execute the workflow on locked screen, then you have to use the unattended robot installed in service mode.
When in stalling the UiPath robot you can install it as user or service mode. (Details below)
Service Mode - recommended for unattended automation scenarios and large-scale platform deployments, and runs with the same rights as the user under which it is registered.
User Mode - recommended for attended automation scenarios, and runs under the user that installed it, having the exact rights as that particular user.
That being said. I have an unattended automation that has to run an a…