Set environment variable
  • 14 Nov 2024
  • 1 Minute to read
  • Dark
    Light
  • PDF

Set environment variable

  • Dark
    Light
  • PDF

Article summary

The Set environment variable action allows you to set a specific value for an operating system environment variable. This action is not persistent on macOS and changes are lost after a reboot.

General
TypeSet environment variable
Name

Actions are easier to comprehend and manage over time when they have a suitable name that accurately expresses what they do.

VariableFor example NUMBER_OF_PROCESSORS for a Windows OS
ValueInsert the value of the variable.
Advanced
ContextThe level at which the action is executed, User or Device.

Filters
Here you can define conditions which determine if the action will be executed. For more information, see Filters.

Agent

It requires the Agent to be running.

Supported platforms

PlatformSupported
WebNo
WindowsYes
macOSYes

Was this article helpful?