---
sourceDocument: Yokohama IT Operations Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/yokohama/it-operations-management

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama IT Operations Management

ft:clusterId :

    - itom

bundleId :

    - itom

workflow :

    - Technology


---

# Create a Discovery process handler

# Create a Discovery process handler {#ariaid-title1}

* Release version: Yokohama
* 
* Updated January 30, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

Process handlers prevent the creation of duplicate CIs by filtering out parameters
known to have inconsistent values before process classification occurs. You can create new
classifiers or edit existing ones.

## Before you begin

Role required: none

## Procedure

1. Navigate to AllDiscovery DefinitionCI ClassificationProcess Handlers.
2. Click New.
3. Complete the fields on the Process Handler form.  
   {#t_CreateAProcessHandler__table_egg_1wv_1q__entry__2}{#t_CreateAProcessHandler__ph_entry-name}{#t_CreateAProcessHandler__ph_entry-active}{#t_CreateAProcessHandler__ph_entry-condition}{#t_CreateAProcessHandler__ph_Script1}

   | Field | Description |
   |-|-|
   | Name | Enter a unique name for the process handler record. |
   | Active | Select the check box to run the process handler. |
   | Classify | * Select the check box to enable classification of any Running Process \[cmdb_running_process\] record that matches this Process Handler's conditions. * Clear the checkbox to disable classification of any Running Process \[cmdb_running_process\] record that matches this Process Handler's conditions. {#t_CreateAProcessHandler__ul_wc1_fwv_1q} |
   | Condition | Select the conditions that trigger the process handler to run the script. In most cases, this condition contains either specific executable names or the presence of certain parameters. |
   | Script | Enter the JavaScript you want to run on the current record in the Running Process \[cmdb_running_process\] table when the Condition is met. The `current` variable is a reference to a Running Process GlideRecord. The script should examine `current.parameters` for certain values, perform string replacement to manipulate these values, and save the result to `current.key_parameters`. ServiceNow uses the key_parameters field, together with the process name, to determine whether the process is unique on a specific machine.{#t_CreateAProcessHandler__p_Script2} See [On classification script objects for Discovery](https://servicenow-prod.fluidtopics.net/IKmMX1oJVjWuzD0~ta_9aQ "Use an On classification script in a process classifier to customize an application record.") for additional options. |
   [Table 1. Process Handler form]

   {#t_CreateAProcessHandler__table_egg_1wv_1q}
4. Click Submit.

## What to do next

Run a discovery through the [Discovery
Schedule](https://servicenow-prod.fluidtopics.net/CIQEq9XeYjrEAd3sKWHEVg "A discovery schedule determines what horizontal discovery searches for, when it runs, and which MID Servers are used. Create a discovery schedule for your local environment or a schedule for discovering the resources in your cloud service account.") to search for applications and then [verify the results in the CMDB](https://servicenow-prod.fluidtopics.net/qeyh~9Q9YnmG7Rb~kqs44g "Discovery identifies several types of software.") for the applications that are found.

*[\>]: and then


