Environment variables

Use the Environment Variables page to view and modify environment variables that are available to your agent while it is running.

Before you begin

For more information about the Agent Editor and Agent Information page, see Using the Agent Editor to modify the agent.

About this task

The environment variables can be defined by you, for access inside a script, or predefined variables that cause the agent to behave in a certain way. See List of environment variables for a list of predefined variables.

Procedure

  1. To open the Environment Variables page, click Environment Variables in the Agent Content section of the Agent Information page. Alternatively, click Environment Variables node in the Outline view.
  2. In the Environment Variables page, click Add to add a new variable. Alternatively, to edit an existing variable, select it and click Edit.
  3. In the Environment Variable Information window, set the following values:
    • In the Name field, type a variable name or select a predefined name from the list.
    • In the Value field, type a value for the variable if you want to set a variable for the agent. If you do not enter a value, the agent propagates a value for the existing variable.
    • In the Description field, type a description of the variable, or keep the existing description of a predefined variable.
    1. Click OK.
      The new variable is listed in the table on the Agent Information page.