--- title: Create a Discovery process handler description: 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. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/it-operations-management/discovery/t\_CreateAProcessHandler.html release: australia product: Discovery classification: discovery topic_type: task last_updated: "2026-03-12" reading_time_minutes: 1 breadcrumb: [Create a Discovery process classification, Discovery classifiers, Configuring Discovery, Discovery, ITOM Visibility, IT Operations Management] --- # Create a Discovery process handler 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 **All** > **Discovery Definition** > **CI Classification** > **Process Handlers**. 2. Click **New**. 3. Complete the fields on the Process Handler form.
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.
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. See [On classification script objects for Discovery](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-operations-management/discovery/r_OnClassificationScriptObjects.md) for additional options.
4. Click **Submit**. ## What to do next Run a discovery through the [Discovery Schedule](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-operations-management/discovery/t_CreateADiscoverySchedule.md) to search for applications and then [verify the results in the CMDB](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-operations-management/itom-visibility/c_Software.md) for the applications that are found.