As part of creating or modifying a discovery pattern, you can use the Set Parameter Value operation to apply a value to a parameter.

Before you begin

Role required: pd_admin

Navigate to the relevant pattern step:

  1. On the pattern form, select the relevant identification section for Discovery.

    Alternatively, select the relevant identification or connection section for Service Mapping.

  2. Select the relevant pattern step or click Add a step button to add a step.

Basic knowledge of programming is desirable.

Procedure

  1. On the Identification or Connectivity Sections form, select Set Parameter Value from the Operation list.
  2. Fill in the fields, as appropriate.
    Field Description
    Value Specify the value that you want to assign to the parameter. You can use strings or variables. You can also use values from temporary tabular variables: from a specific field or a specific column in a table sequentially, starting from the first row. For more information, see Enter values and variables in patterns.
    Name Specify the name of the variable to which to assign this value.
  3. If in Debug mode, test the step by clicking Test and checking that the operation brings the result you expected.

Example

To set the CI name to "IIS" and the version number, define the Set Parameter Value operation as follows:


Defining the Set Parameter Value operation

What to do next

cmdb-key-value
Discovery also collects cloud tags that are specific to each virtual machine (VM) and saves them to the Key Value [cmdb_key_value] table.