Input Parameters and Global Variables

Automation Manager Input Parameters allow you to insert a variable prompt in your Policy that will require user input every time that the Policy is run.

Global Variables are used when creating arguments in a Policy based on the following Objects:

You can re-order input parameters within an Automation Manager policy - making it easy to ensure that the input parameters are presented in the right order when the AMP is run from SolarWinds N-central.

  1. Start Automation Manager.
  2. Create a new Automation Policy or open an existing Automation Policy.
  3. Click Input and click the Input Parameters tab.
  4. Click Add.
  5. Enter a descriptive Name.

    Input Parameter names must be unique for each individual parameter. The Name must also consist only of alphabetical characters as numeric characters, spaces or symbols cannot be used.

  6. Enter the Display label.
  7. Select the Type of parameter and click OK twice.
  8. Drag the Automation Object for which you want to configure an Input Parameter into the Policy frame.
  9. Click beside the field for which you want to link an Input Parameter.
  10. Click StartObject.
  11. Under Values, click the name of the Input Parameter that you created in the steps described above.
  12. Click OK.
  13. Continue editing and modifying the Automation Manager Policy as needed.
  14. Cick File > Upload to upload the Policy to the Script/Software Repository or click File > Save to save the Policy to your local computer or a network share.

Use Global Variables in an Automation Manager Policy

Global Variables must be linked to a Global Variable Assignment Object in order to be used in Automation Manager Policies.

  1. Start Automation Manager.
  2. Create a new Automation Policy or open an existing Automation Policy.
  3. Click Input.
  4. Click the Global Variables tab and click Add.
  5. Enter a Name.

    Global Variable names must be unique for each individual variable. The Name must also consist only of alphabetical characters as numeric characters, spaces or symbols cannot be used.

  6. Enter the Display label.
  7. Select the Type of variable and enter the Value to be associated with the Global Variable.
  8. Click OK twice.
  9. Drag a ForEach, If, or If/Else Object into the Policy frame.
  10. Click beside the Variable field for which you want to link a Global Variable.
  11. Click GlobalVariables.
  12. Under Values, click the name of the Global Variable that you created and click OK.
  13. Continue editing and modifying the Automation Manager Policy as needed.
  14. Once you have completed your changes, click File > Upload to upload the Policy to the Script/Software Repository or click File > Save to save the Policy to your local computer or a network share.