Define discovery steps For each Identification Section and Connection Section entry that you added to the discovery pattern, define discovery steps. These steps are the basis for discovery. About this task You can choose to define these steps immediately after adding an Identification or Connection section, or you can choose to do it after adding all Identification and Connection sections. You need to define an operation for every step. The type of operation dictates which parameters and variables need to be configured. Demonstrates setting up Horizontal Discovery using Patterns, and applies to ServiceNow releases starting with Helsinki. Procedure On the pattern form, double-click the relevant entry in the Identification Sections or Connectivity Sections. Connectivity Sections is for Service Mapping only. If no discovery steps have been identified for this pattern, an _Untitled_Step_ node appears in the Operational Step tree in the left pane of the window. In the tree, right-click a step in the left pane and select Add Step Before or Add Step After. Select an operation from the list and then fill in the fields that appear for the operation. Operation Objective Change User Use operating system credentials instead of the default administrative credentials. Create connection Provide information about outgoing connections. This is for the connectivity section of a pattern that applies to Service Mapping only. Filter table Filter a table according to specified criteria. Find matching URL Find the best match for a URL in a list of URLs. Get registry key Query for registry keys. Get process Search for a process according to specified criteria. LDAP query Query an LDAP directory. Library reference Combine a number of steps to be executed as a group. Match Terminate if a condition is not met. Merge table Merge two tables. Parse command output Extract information from the output of the command. Parse file Extract information from a file. Parse a URL Break down a URL into its components. Parse variable Extract information from a variable. Relation and/or reference Create relationships and references between CIs that were discovered within the pattern. Transfer a file Transfer a file to a remote system. Set a variable Set the value of a variable. SNMP query Execute an SNMP query. Transform table Add computed columns to an existing table. Unchange user Switch back to the default administrative credentials. Union table Append two tables that share the same format. WMI method invocation Execute a method using WMI (Windows Management Instrumentation). WMI query Execute a WMI query. Specify the following discovery step settings. Field Description Precondition Check box to perform the step of a specific criteria. If the step is always performed as defined, leave this setting unchecked.For more than one condition, consider defining a step for each condition rather than multiple conditions.For more information, see Make a step conditional CI Attributes Table that is automatically populated with CI attribute variables that are generated when you add a CI type.This table does not support Container or Tabular variables.You can use shortcuts to enter values as described in Useful shortcuts in Pattern Designer.All variables are notated with a $ prefix and constants are formatted within double quotes.For more information, see Pattern variables. Temporary Variables Table that is automatically populated with temporary variables that are generated when you define a discovery pattern. You can add or remove variables from the Temporary Variables table.You can use shortcuts to enter values as described in Useful shortcuts in Pattern Designer.All variables are notated with a $ prefix and constants are formatted within double quotes.For more information, see Pattern variables. To add comments to any step, click the comment icon () and add the text in the comment field. To delete a step from the section, select the step and click the trash can icon. After you define all steps, click Save. On the pattern record, click Activate to make that pattern available for use. What to do next Click Debug to access the additional actions, and you can browse to and open information source files rather than looking them up separately. Parsing strategiesIn discovery patterns, you can use parsing strategies to extract text from any text file and to specify a variable to store the extracted content.