Issue
The application screen that RPA Bot creates the action with needs to be the same size as the screen on the machine that runs the botflow. If the botflow is being run scheduled and unattended on a Virtual Machine, then you may need the following things setup:
- Download and use the Nintex RPA Unlocker - this will allow RPA Central to unlock the Bot machine when it needs to and then lock it when the botflow completes.
- Add the Unlock action to the botflow - this triggers RPAC to unlock the screen on the remote desktop.
- Use the Batch File in the link below - the batch file leaves the desktop in a state that RPAC can do when it needs to for a successful botflow run.
- Add a Set Resolution action to your botflow - you may need this if your display size changes from Bot machine to Bot machine.
Error Code
If the above items are not done, a Target is Not Found error may occur most likely because the screen did not actually resize appropriately or the Bot machine did not unlock.
Additional Information
When a user RDP's into a VM, the VM takes the display settings of the host machine. If running the botflow manually, the batch file is probably not needed because the user will unlock the machine. The Set Resolution action may not be needed if the host machine has the correct display size already.
If running the botflow scheduled and unattended, it will take on the display settings that were by default in setting up the VM.
Running the batch file in the link below on the VM will correctly log it out so that the keyboard and mouse are available for RPA to use. In the Unlock link below there is a section named "Best practices for remote desktops and virtual machines." This is where the batch file is provided.
