Pattern variables

You use variables in discovery patterns to refer to parameters or attributes that the pattern needs to discover.

There are several kinds of variables used in Service Mapping discovery: global variables, CI attribute variables, and temporary variables.

Characteristics Global variable CI attributes Temporary variables
Description Refers to general parameters of a device or application:
  • computer system - contains information about the host of the CI for the CI for which you create a pattern.
  • entry point - contains information about the connection which serves as an entry point for the CI for which you create a pattern.
  • process - contains data about the process detected at the port pointed to by the entry point.
Refers to parameters defined for the relevant CI type. Refers to a parameter used for a specific operation in a pattern step.
Type/structure Container variable: a variable can hold any combination of single strings and tabular variables. A variable can be:
  • Scalar - a single string
  • Tabular - a table, where each cell is a scalar variable.
  • Vector - a single, unnamed column with as many rows as needed
Scalar, tabular, or vector
  • Scalar - a single string
  • Tabular - a table, where each cell is a scalar variable.
  • Vector - a single, unnamed column with as many rows as needed
Origin Preconfigured in Service Mapping. Derived from a CI type definition. You create these variables while defining operations for pattern steps.
Modifiable in Pattern Designer No No Yes

Pattern Designer displays different kinds of variables in different areas of its interface.


Types of variables displayed in different areas in Pattern Designer window

Always prefix variables with the dollar symbol ($) which indicates variables, but is not actually a part of the variable name. For example, if you specify $Abc as the variable name, the actual name of the variable is Abc.