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 | |
|---|---|
| Type | Set environment variable |
| Name | Actions are easier to comprehend and manage over time when they have a suitable name that accurately expresses what they do. |
| Variable | For example NUMBER_OF_PROCESSORS for a Windows OS |
| My data is a list of values | If you enable this option, you can append one or more entries to the variable as a suffix, when your variable is an array. |
| Separator | Specify the separator used in a concatenated environment variable, so that it is parsed correctly. |
| Value | Insert a value for the variable. In case you enable the My data is a list of values option, the entry you specify as value will be appended as a suffix to the variable. To append multiple entries at once, use the ";" as separator. For example: Path C:\Windows;C:\Temp;C:\Program Files\ Value C:\Recast;C:\ProgramData New path C:\Windows;C:\Temp;C:\Program Files\;C:\Recast;C:\ProgramData |
| Advanced | |
|---|---|
| Context | The 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
| Platform | Supported |
|---|---|
| Web | No |
| Windows | Yes |
| macOS | Yes |