How can i index Incident and Problem table in AI Search?

Ankit Kumar6
Tera Contributor

Hi Team,

I have to index only Incident and Problem table so that user will able to search content from these two table only using "AI Search". How can i achieve this?

Please Help

3 REPLIES 3

Roshnee Dash
Tera Guru

Enable AI Search

Ensure that AI Search is enabled in your ServiceNow instance. You can verify this by navigating to: AI Search Status if it's active.

2. Define Index Sources

You'll need to create Search Sources that define which tables will be indexed for AI Search.

  1. Go to System AI Search → Search Sources

  2. Click New and configure as follows:

    • Name: Incident Index Source

    • Indexed Source: incident

    • Condition: Set filters if required (e.g., only active incidents)

    • Submit

  3. Repeat for the Problem table:

    • Name: Problem Index Source

    • Indexed Source: problem

    • Condition: Define any specific filtering criteria

    • Submit

3. Associate Search Sources with a Search Application

  1. Navigate to System AI Search → Search Applications

  2. Open your relevant Search Application (or create a new one)

  3. Under Search Sources, add your newly created sources (Incident and Problem)

  4. Save and publish the changes

4. Configure Search Experience

To refine user interaction:

  • Navigate to System AI Search → Search Experience

  • Ensure the Incident and Problem tables are included

  • Modify the layout, ranking, and relevance criteria to optimize results

5. Test & Validate

  • Perform searches and validate that only Incident and Problem records appear

  • Fine-tune boosting rules if needed to prioritize relevant results

Your feedback makes the community stronger! If you found this helpful, marking it as the correct answer helps others.
Stay awesome,
Roshnee Dash

Hi @Ankit Kumar6 
If you found my response helpful, please mark it as correct and close the thread so others can benefit from it too.

Your feedback makes the community stronger! If you found this helpful, marking it as the correct answer helps others.
Stay awesome,
Roshnee Dash

fibinpious
Tera Contributor

Just a follow up question is there  any way i can use the indexeded incident table for AI Search api it asks for 

searchContextConfigId and rpSysId how can i configure them