R12 Publication-2025July16

Using Variables in a Command

When you define commands in a Change node, the commands may contain sensitive data, such as passwords and values. You can use variables in commands to protect sensitive data, and only users with specific privileges can view the data.

Follow the steps below to define variables to hide the sensitive data in a command.

  1. At the Define Change node, click Insert Variable.
  2. In the Insert Variable dialog, add a variable for each data you want to protect and assign values.
    1. Click Add. The Add Variable dialog opens.
    2. Graphical user interface, application

Description automatically generated

    3. Enter a meaningful name for the variable.
    4. Enter the value of the variable. The value will be decrypted to form the actual commands sent to the device when the system executes the changes.
    5. Click Add Variable.
    6. Repeat the above steps to add more variables
    7. Insert the variable you want
    8. Graphical user interface, text, application, email

Description automatically generated

  3. In a command, enter {{ and select the corresponding variable in the pop-up drop-down list. 
  4. Information Tip: You can also type {{variable}} to create a new variable in a command and double click the variable to edit it. The new variable will be automatically added to Insert Variable

    The system only shows variable names and hides specific values in the commands. Only users with specific privileges can edit or view the variables and values.

    Privilege View Variable Add/Delete/Edit Variable
    Create Network Change Yes Yes
    Approve Network Change Yes No
    Execute Network Change Yes No
    View Network Change No No
    Delete Network Change No No