Execute resolution if not defined on orchestrator

Hi,

Does anybody knows in what resolution is unattended bot going to run if the resolution parameters are not defined on Orchestrator? I have some distant thought that it should keep the resolution which was used during the development but maybe I am wrong.

Thanks!

Hey!

We won’t consider the orchestrator resolution. Whenever we’re developing the process in the system. That particular system’s resolutions will takes the consideration.

We need to import the below namespaces from imports panel

System.Windows.Forms
System.Windows.Forms.Screen.PrimaryScreen.Bounds.Width

The above expression will give you the resolution

Reference:

Regards,
NaNi

It depends how the server is configured.

Hello @Andrija

There are provisions to set the resolution for the bot execution. You can refer to the below posts.

How do you set the screen resolution for a UiPath robot? - Stack Overflow.

Thank you for the details

Hi Rahul

I need to change the resolution dynamically, and the setup though orchestrator is static so it doesnt cover my problem

Hi @Andrija,

If the resolution is not configured in Orchestrator, the unattended Robot generally uses the resolution configured for the Windows/VM session where the Robot is running.

It does not automatically use the resolution from the development machine.

So, if your automation depends on a specific resolution, it is better to make sure the Robot machine/VM display settings are configured correctly and, where applicable, define the desired resolution in Orchestrator.

Hope this helps!