Using Runtime Parameter Variables
Orchestrator allows you to pass runtime variables into the script.
In our example, the folderName custom parameter has been added recently, and it is required to specify a default value for it. To set a custom variable as the default value, do the following:
- Switch to the Administration page.
- Navigate to Recovery Steps.
- In the Steps column, select the script step and click Edit.
- In the Step Editor window, click Add in the Script parameters section.
- In the Add Script Parameter window, do the following:
- Use the Parameter name field to enter a name for the new parameter. The maximum length of the location name is 128 characters; the following characters are not supported: * : / \ ? " < > | .
- From the Parameter type drop-down list, select Text / Macro.
- In the Default value field, click Choose and do the following in the Set Default Text / Macro window:
- Set the Show macros toggle to On
- From the list of available variables, double-click the value that you want to assign to the parameter, and click Apply.
- Click Apply.
- To save changes made to the script, click Save.
For more information on parameter variables that you can pass into a script, see Appendix A. Recovery Plan Steps.
