---
sourceDocument: Australia ServiceNow AI Platform Capabilities
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/de-DE/servicenow-platform

 Release :

    - australia

ft:locale :

    - de-DE

ft:publication_title :

    - Australia ServiceNow AI Platform Capabilities

ft:clusterId :

    - platcap

bundleId :

    - platcap

workflow :

    - Platform


---

# Create a de-duplication template

# Create a de-duplication template {#ariaid-title1}

* Freigeben Version: Australia
* 
* Aktualisiert 12. März 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 6 Minuten Lesedauer

Create a de-duplication template that you can then run to apply pre-configured and consistent remediation to de-duplication tasks, in bulk. Organize your templates in libraries that make sense in your
organization.

## Vorbereitungen

Role required:

* To access the [Management view in CMDB Workspace](https://servicenow-prod.fluidtopics.net/rGICBVTr4zLwFWV7GXqrQg "The Management view provides CMDB Admins with quick access to key management tools and deep insights into CMDB health and activities. The view provides details such as duplicate CIs and recent activities in the CMDB.") to perform de-duplication tasks, sn_cmdb_admin
* To access the [Governance view in Service Graph Workspace](https://servicenow-prod.fluidtopics.net/IBj3IXzeQPTwTK~j5pU8iQ "Governance view in Service Graph Workspace provides administrators with important information, actions, and links to tools that are used to administer the CMDB.") to perform de-duplication tasks: sn_cmdb_editor or sn_cmdb_admin
* To perform this task: cmdb_dedup_admin or any role containing cmdb_dedup_admin (such as sn_cmdb_admin)
{#workspc-dedup-create-template__ul_wvs_kw4_5fc}

## Warum und wann dieser Vorgang ausgeführt wird

By default, a newly created template is in draft mode. Therefor, after creating a template, you must publish the template to make it available for remediation.

## Prozedur

1. Navigate to either workspace:  
   * Navigate to WorkspacesCMDB Workspace and then select Management in the CMDB Workspace menu bar.
   * Navigate to WorkspacesService Graph Workspace and then select the Governance icon in the navigation panel.
   {#workspc-dedup-create-template__ul_vsr_tbh_zhc}
2. Select the De-duplication Template Library link in Management tools, in the Manage section.
3. **Wahlweise:** Create a library for the new template.
   1. On the De-duplication templates page, select Create a library.
   2. In the Create new library dialog box, fill out the Name and the Description for the new library.
   3. Select Create.
   {#workspc-dedup-create-template__substeps_d1s_lng_yyb}
4. On the De-duplication templates page, select Create a template.  
   On the New template page, configure the different sections of the template by completing the rest of the steps.
5. General information: Fill out the form and then select Next.  
   {#workspc-dedup-create-template__table_iqk_z4g_yyb__entry__2}

   | Field | Description |
   |-|-|
   | Name | Unique name for the template. |
   | Class | CMDB class that this template can be applied to. |
   | Template library | Library that the de-duplication template belongs to. Select a library, or select the '+' icon to create a new library. |
   [ ]

   {#workspc-dedup-create-template__table_iqk_z4g_yyb} {#workspc-dedup-create-template__table_lt5_nfr_yyb__entry__2}

   | Option | Description |
   |-|-|
   | Automatically select all de-duplication tasks that match the selected class | Assign all de-duplication tasks that match the template class, to the template for remediation. |
   | Add all child classes | Also assign all de-duplication tasks that match descending classes of the template class, to the template for remediation. This option is available only if the Automatically select all de-duplication tasks that match the selected class option is selected. |
   [ ]

   {#workspc-dedup-create-template__table_lt5_nfr_yyb}
6. Create condition: Use a condition builder or a custom script to narrow down the list of de-duplication tasks assigned to the template, and then select Next.  
   Use script toggle options:
   * Off: Specify conditions to filter on CIs from the template class. Only the de-duplication tasks containing CIs that match the filter will be assigned to the template.

   * On: Enter a custom script that returns a valid array of de-duplication tasks sys_ids (from the Remediate Duplicate Task \[reconcile_duplicate_task\] table), that are applicable to the template class. Those de-duplication tasks will then be assigned to the template.  
     Hinweis:  
     Ensure that the script runtime doesn't exceed your intended runtime expectation and doesn't unexpectedly affect performance. Invalid values returned by the script are ignored.
   {#workspc-dedup-create-template__ul_rf1_c5l_rcc}
7. Select main CI: Select the method for choosing the main CI from the drop-down list and then select Next.

   | Option | Description |
   | Newest updated | Most recently updated CI. |
   | Most related items | CI with most related items. |
   | Oldest created | Oldest CI. |
   | Most relationships | CI with most relationships. |
   | Discovery source | A duplicate CI must be associated with the selected discovery source to become the main CI. |
   | Has asset | A CI must have an asset to become the main CI. |
   | Select main CI based on condition | A duplicate CI must match a specified condition to become the main CI. |
   |-|-|

   {#workspc-dedup-create-template__choicetable_pg3_hqh_2zb}  
   Hinweis:  
   * Applying the chosen method to a set of duplicate CIs must result in exactly one CI. If during remediation, the chosen method yields no CIs or multiple CIs, then the Newest updated method is automatically applied regardless of your choice.
   * After selecting the main CI out of the set of duplicate CIs, the main CI is separate from the rest of the duplicate CIs. From that point, 'duplicate CIs' refers to all of the initial duplicate CIs, aside from the selected main CI.
   {#workspc-dedup-create-template__ul_gtv_1sh_2zb}
8. Merge attributes: Configure merging attributes from duplicate CIs into the main CI, and then select Next.
   1. Select the method to use for merging the attributes of duplicate CIs into the corresponding attributes of the main CI.  
      For each method card on the left (such as Use latest updated CI), select attributes in the list on the right, that should be merged into the main CI using that method.
   2. Select options as appropriate.  
      {#workspc-dedup-create-template__table_w1m_1hr_yyb__entry__2}

      | Option | Description |
      |-|-|
      | Allow null value updates from duplicate CIs to main CI | When merging duplicate CIs into the main CI, lets a null value from a duplicate CI to overwrite a non-null value in main CI. |
      | Allow updates from duplicate CIs only when the main CI value is null | When merging duplicate CIs into the main CI: * Prevents updates to main CI attributes that have non-null value. * Allows updates to main CI attributes that have a null value, with a non-null value. {#workspc-dedup-create-template__ul_rjd_jyg_yyb} |
      [ ]

      {#workspc-dedup-create-template__table_w1m_1hr_yyb}
   {#workspc-dedup-create-template__substeps_krl_vgr_yyb}
9. Merge relationships: Select an option for merging relationships from duplicate CIs into the main CI, and then select Next.

   | Choice | Description |
   | Merge all relationships | Merge relationships from all duplicate CIs into the main CI. |
   | Do not merge any relationships | Don't merge any relationships from duplicate CIs into the main CI. |
   | Merge relationships based on condition | Merge relationships only if the main CI satisfies this condition. |
   |-|-|

   {#workspc-dedup-create-template__choicetable_s5j_rbh_yyb}
10. Merge related items: Select the method to use for merging related items associated with the duplicate CIs into the main CI, and then select Next.

    | Choice | Description |
    | Merge default related items | Merge only related items in the default related items list, from duplicate CIs into the main CI. |
    | Do not merge any related items | Don't merge related items from any duplicate CI into the main CI. |
    | Merge all available related items | Merge all related items from all duplicate CIs into the main CI. |
    | Merge related items based on condition | Merge related items only if the main CI satisfies this condition. Related items are merged individually based on the main CI satisfying their respective condition. If there are two related items with two conditions and the main CI satisfies only one condition, then only one related item is merged. Select Create a new condition to build conditions. |
    |-|-|

    {#workspc-dedup-create-template__choicetable_azk_5gj_yyb}  
    * For information about the default list of related items used in de-duplication processes, see [Manage default related items list](https://servicenow-prod.fluidtopics.net/yOsbKESHfQB12UyZB2miDw "You can add or remove items from the default list of related items which is used in duplicate CI remediation for all de-duplication tasks.").
    * For information about setting related tables so that automated workflows that might be blocking remediation of related items (such as business rules and errors), are disabled, see [Turn off workflows of related tables during remediation](https://servicenow-prod.fluidtopics.net/Y36K8fmo6SnSRnll2_5dTQ "Configure de-duplication remediation processes for related tables, to turn off the execution of business rules, workflows, and any other automatic processes that might be turning off the update of referenced duplicate CIs to the main CI. Disabling all these workflows of related tables, allow de-duplication tasks, that would otherwise fail, to complete.").
    {#workspc-dedup-create-template__ul_avn_2nb_zhc}
11. Duplicate CI actions: Select what to do with the duplicate CIs after they're merged into the main CI, according to the template settings, then select Next.

    | Choice | Description |
    | Delete | Permanently delete all duplicate CIs in the set (main CI remains the only active CI). |
    | Set attributes to custom values | Set attributes of duplicate CIs to custom values. Configure the pairs of attribute/value with your custom settings. |
    |-|-|

    {#workspc-dedup-create-template__choicetable_egx_c3j_yyb}
12. Review and test: Access the following tabs to complete the template by reviewing and testing it.
    1. Summary: Review all template settings and select Back to modify any settings.
    2. Test: Select a sample de-duplication task and then select Save and Preview Results to save and run the template.
    3. Preview the results of the remediation test.
    4. Select Save \& Exit to save the template and return to the De-duplication templates home page.
    {#workspc-dedup-create-template__substeps_r2r_hjj_yyb}

## Ergebnisse

The new template is added to the specified library in draft mode and can be edited. However, a template in draft mode isn't available for remediation of de-duplication tasks until you publish it.

## Nächste Maßnahme

* [Publish a de-duplication template](https://servicenow-prod.fluidtopics.net/rrFwDlyutAdXxHaN~0~57w "After creating a de-duplication template, you must publish the draft template to make it available to run. You might also need to unpublish a published de-duplication template so it's temporarily unavailable for de-duplication remediation, until you republish it again.")
* [Run a template to process de-duplication tasks](https://servicenow-prod.fluidtopics.net/O3YcWW81SxJ1WMVX6KfXtg "Run a de-duplication template to run de-duplication tasks that remediate duplicate CIs, in bulk. A de-duplication template is pre-configured with remediation settings per class. Running a de-duplication template, processes its assigned de-duplication tasks, consistently, according to the template settings.")
* [Remediate a single de-duplication task](https://servicenow-prod.fluidtopics.net/RVB2T27sBSaSVz2JCwjmmw "Remediate a single de-duplilcation task using a de-duplication template in CMDB Workspace, in Service Graph Workspace, or manually, using the Duplicate CI Remediator.")
{#workspc-dedup-create-template__ul_xxp_mdh_yyb}

