Skip to main content

Set Environment Variable

Description

Sets an environment variable with the specified Value

Properties

Input

  • Type - Select the Type of Environment Variable from the drop-down list
TypeDescription
UserUser type environment variable available for current user
SystemSystem type environment variable available for all user
  • Variable Name - Specify the environment variable name to set

  • Value - The Value to be set for the specified environment variable

Misc

  • DisplayName – The display name of the activity.

  • Private – If selected, the variables and argument values will no longer be logged at the Verbose level.

Optional

  • Continue On Error – It Specifies whether the automation should continue even when the activity throws an error. If True, the activity continues without throwing any exceptions. If False, the activity throws an exception. The default value is False.

Note: If this activity is present inside the Try-Catch block, and the Value of this property is True, no error would be caught.

Example

Download Example