A Procedure's Parameters Tab
- Click 'Assets' > 'Monitoring & Management' > 'Procedures', click a procedure name, then open the 'Parameters' tab.
A parameter is a value the body of the procedure asks for instead of hard-coding. The tab lists the parameters this procedure defines and lets you set their default values.
You can review the parameters a procedure takes before you run it, and change their defaults.

Where parameters come from
Parameters are not added from this tab. They are declared inside the body of the procedure, and the tab reflects what it finds there. When the body declares none, the tab shows the explanation:
- "You haven't yet defined any procedure parameters."
- "To define a particular parameter, replace the 'parameterName' inside itsm.getParameter('parameterName') with that parameter's name inside of procedure."
- 'You may also configure the necessary values while the procedure is being run.'
The Edit form
Click 'Edit' on the panel to set the default values. The panel buttons become 'Cancel' and 'Save'. When the body declares no parameters the form has no fields, only the explanation above.

Add a parameter to a procedure
- Open the procedure and click the ‘View Procedure’ tab.
- Click 'Edit'.
- In the body, call itsm.getParameter('parameterName') with the name you want the parameter to have.
- Click 'Save'.
- Open the 'Parameters' tab. The new parameter is listed there.
- Click 'Edit' on that tab to give it a default value, then click 'Save'.
Note: you can also supply parameter values at the moment you run a procedure, which overrides the defaults set here for that run only.
