Set a parameter value

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

Before you begin

Navigate to the relevant pattern step:

  1. On the pattern form:
    • Select the relevant identification section for Discovery.

      Or

    • Select the relevant identification or connection section for Service Mapping.
  2. Select the relevant pattern step or click to add a step.

Role required: pd_admin

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. Values can be variables or constants.
    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

Field Value
Hierarchy Applications > Application
CI Type Microsoft iis Web Server [cmdb_ci_microsoft_iis_web_server]
Pattern IIS
Section Identification for JHTTP(s) entry point.
Step number and Name 3. Set the display label

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