Set Environment Variable

Creates or updates the value of an environment variable.

Behaviour

Risk: Low · Idempotent: No · Safe to retry: Yes · Recovery: Not replayed after a crash

Package System activities VeloPhex.System.Activities 0.7.1-rc.12 · Supported (Core profile) · type id velophex.system.setEnvironmentVariable

Properties#

Input#

Variable Name#

Variable · String · Required · Default: Not specified in package metadata

Name of the environment variable.

Value#

Value · String · Optional · Default: Not specified in package metadata

Value to set (or null to remove).

Target#

Target · String · Optional · Default: Process

Where the variable lives: the run's process, the user's profile or the machine.

Allowed values: Process, User, Machine.

Retry and risk#

This activity is safe to retry: running it again after a transient failure does not repeat a side effect. If a run is interrupted and the outcome of a step is unknown, the step is never retried automatically (what to do). How activities declare this: characteristics, retries and risk.

Every activity also has the engine's common properties: Timeout and Continue On Error.

Generated from VeloPhex.System.Activities 0.7.1-rc.12. Category: System. Keywords: environment, variable, env, set, write.

Properties

Input

Retry and risk

Related activities