---
sourceDocument: Xanadu Strategic Portfolio Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/it-business-management

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu Strategic Portfolio Management

ft:clusterId :

    - itbm

bundleId :

    - itbm

workflow :

    - Technology


---

# Create and add diagnostic features

# Create and add diagnostic features {#ariaid-title1}

* Release version: Xanadu
* 
* Updated August 1, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

Create and add diagnostic features, which consist of single or multiple diagnostic
scans that execute mapped scripts to detect data corruption or invalid data.

## Before you begin

Role required: adt_admin

## Procedure

1. Navigate to AllApplication Diagnostics ToolFeatures.
2. Click New.
3. On the form, fill in the fields.  
   {#add-diagnostic-feature__table_ymh_4kr_wjb__entry__2}

   | Field | Description |
   |-|-|
   | Name | Name of the diagnostic feature. This name appears in the application to which the diagnostic feature belongs. |
   | Active | Option for activating the diagnostic feature. |
   | Application | Search for and select the application with which you want to associate this diagnostic feature. |
   | Roles | User roles that allow access to the diagnostic feature. |
   | Description | Details of the scans in the diagnostic feature. The description is displayed in the application to which the diagnostic feature belongs. |
   [Table 1. Diagnostics Feature form]

   {#add-diagnostic-feature__table_ymh_4kr_wjb}
4. Define the fields available to users for specifying filter conditions in the Diagnostics Inputs section.  
   {#add-diagnostic-feature__table_a5g_2lr_wjb__entry__2}

   | Field | Description |
   |-|-|
   | Label | Name of the label for the input fields. |
   | Field Type | The Reference field type. |
   | Table | Name of the table on which the query specified in the condition should run. |
   | Key | An identifier for the user input condition. If a user specifies multiple conditions, this key acts as a unique identifier for each condition. You can use this key as the input for the scanContext section of the diagnostic script. For example, if you specify projectFilter as a key, the scanContext section of the diagnostic script would appear as follows: `var encodedQuery = scanContext.input.projectFilter;` |
   [Table 2. Diagnostics Input fields]

   {#add-diagnostic-feature__table_a5g_2lr_wjb}  
   The fields that you configure in the Diagnostics Inputs section appear in the Feature Inputs section of the Application Diagnostics Tool page, as shown in the following example.
5. Click Submit.

## What to do next

Create diagnostic scripts and add fix scripts to use with the diagnostic feature. For
more information, see [Add diagnostic and fix scripts](https://servicenow-prod.fluidtopics.net/2tiaZ6KX2HYvwCROapr_2w "Add diagnostic scripts to scan the data in your application for any corruption. You can also attach fix scripts to rectify the corrupt or invalid data identified by the diagnostic script.").

*[\>]: and then


