UiPath Documentation
activities
latest
false

UI Automation activities

Set Project Setting

UiPath.UIAutomationNext.Activities.NSetProjectSetting

Description

Overrides a UI Automation project setting at runtime by providing a project setting key and value. After the activity executes, subsequent UI Automation activities use the overridden value. The override applies to Classic, Modern, and Computer Vision (CV) UI Automation activities.

Use this activity to temporarily adjust project-level behavior without modifying the saved project settings.

Leaving the Value field empty clears an existing runtime override and restores the base project setting value. Runtime overrides do not persist to the project's saved settings file.

Isolated child workflows launched after the override is applied inherit active runtime overrides. Already-running isolated child workflows are not affected.

Project compatibility

Windows | Cross-platform

Windows and Cross-platform configuration

  • Key - The project setting key to override at runtime. Must match an existing key in the project settings schema. This field is required.
  • Value - The value to apply to the project setting. Must be assignable to and coercible into the declared type of setting. Leave this field empty to clear a previously set runtime override and restore the base project setting value.

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