> Automation > Input Parameters and Global Variables

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:

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

To use Input Parameters in an Automation Manager Policy

  1. Start the Automation Manager application.
  2. Create a new Automation Policy or open an existing Automation Policy.
  3. In the Policy frame that is displayed in the main content pane, click Input.
  4. In the Input Parameters and Global Variables window, click the Input Parameters tab.
  5. Click Add.
  6. In the New Input Parameter window, type a descriptive Name to be used to identify the new input parameter.

    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.

  7. Type the Display label that will be displayed in the MSP N-central UI. Display labels can use alphanumeric characters, symbols and spaces.
  8. Select the Type of parameter from one of the following:
    • Date
    • Number
    • Password
    • String
  9. Click OK.
  10. Click OK a second time.
  11. Drag the Automation Object for which you want to configure an Input Parameter into the Policy frame.
  12. Click beside the field for which you want to link an Input Parameter.
  13. In the Object Link dialog box, click StartObject.
  14. Under Values, click the name of the Input Parameter that you created in the steps described above.
  15. Click OK.
  16. Continue editing and modifying the Automation Manager Policy as needed.
  17. 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.

To use Global Variables in an Automation Manager Policy

  1. Start the Automation Manager application.
  2. Create a new Automation Policy or open an existing Automation Policy.
  3. In the Policy frame that is displayed in the main content pane, click Input.
  4. In the Input Parameters and Global Variables window, click the Global Variables tab.
  5. Click Add.
  6. In the New Global Variable window, type a descriptive Name to be used to identify the new global variable.

    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.

  7. Type the Display label that will be displayed in the MSP N-central UI. Display labels can use alphanumeric characters, symbols and spaces.
  8. Select the Type of variable from one of the following:
    • Date
    • Number
    • Password
    • String
  9. Type the Value to be associated with the Global Variable.
  10. Click OK.
  11. Click OK a second time.
  12. Drag a ForEach, If, or, If/Else Object into the Policy frame.
  13. Click beside the Variable field for which you want to link a Global Variable.
  14. In the Object Link dialog box, click GlobalVariables.
  15. Under Values, click the name of the Global Variable that you created in the steps described above.
  16. Click OK.
  17. Continue editing and modifying the Automation Manager Policy as needed.
  18. 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.