Variable Definition Editor
Click the (x) button (Edit Variables) in the Runbook Editor tool bar to open the Variable Definition Editor. This enables you to create user-defined variables for use in runbooks, and also enables you to view the definitions of built-in variables (built-in variables cannot be modified).
The editor comprises a tab for each scope in which a variable can exist and be assigned a value:
-
Runtime Scope — The variable is persistent over a single execution of the runbook.
-
Incident Scope — The variable is persistent over the lifecycle of an incident associated with a runbook.
Add Variable
Click to add a user-defined variable for the current scope, and choose the variable type from the pop-up menu.
Each new entry is added to the list of user-defined variables.
User-Defined Variables
This lists the user-defined variables you've added to the current scope. Modify these as necessary.
For each variable, type a name and a default value, and fill in the other fields that are appropriate for that variable type (e.g., there's no Unit field for a String type variable).
Built-In Variables
This lists the built-in variables for the current scope. Built-in variables cannot be changed.