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.
-
At the Define Change node, click Insert Variable.
-
In the Insert Variable dialog, add a variable for each data you want to protect and assign values.
- Click Add. The Add Variable dialog opens.
- Enter a meaningful name for the variable.
- 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.
- Click Add Variable.
- Repeat the above steps to add more variables
- Insert the variable you want
- In a command, enter {{ and select the corresponding variable in the pop-up drop-down list.
![]() |
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 |