UiPath Documentation
activities
latest
false

UI Automation activities

Set CV Server

UiPath.UIAutomationNext.Activities.NSetCVServer

Description

Overrides the Computer Vision server configuration at runtime by providing the Computer Vision server URL, API key, and whether to use a local Computer Vision server. After the activity executes, subsequent Computer Vision activities use the runtime configuration instead of the project-level Computer Vision server settings.

Executing the activity replaces the complete runtime Computer Vision server configuration. The provided values take precedence over the project-level Computer Vision server settings for subsequent Computer Vision activity execution.

Leaving the Server URL empty configures no remote server from that point on. Leaving the API Key empty means no API key is used from that point on. When Use Local Server is enabled, Computer Vision uses the local server path instead of the configured remote server URL.

The runtime configuration remains active for the lifetime of the current process and does not persist to the project's saved settings. Isolated child workflows launched after the override is applied inherit the active runtime configuration. Already-running isolated child workflows are not affected.

Project compatibility

Windows | Cross-platform

Windows and Cross-platform configuration

  • Server URL - The Computer Vision server URL to use at runtime. Leave this field empty to configure no remote server.
  • API Key - The Computer Vision license API key to use when calling the Computer Vision server. Leave this field empty to use no API key.
  • Use Local Server - When enabled, Computer Vision uses the local server path instead of the configured remote server URL. This field only supports Boolean values (True, False).

Properties panel

Options

  • Continue on error - Specifies if the automation should continue even when the activity throws an error. This field only supports Boolean values (True, False). The default value is False. As a result, if the field is blank and an error is thrown, the execution of the project stops. If the value is set to True, the execution of the project continues regardless of any error.

Timings

  • Timeout - Specify the amount of time (in seconds) to wait for the activity to be executed before throwing an error. The default value is 30 seconds.
  • Description
  • Project compatibility
  • Windows and Cross-platform configuration
  • Options
  • Timings

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated