Populate search suggestions in the mobile apps

  • Freigeben Version: Australia
  • Aktualisiert 12. März 2026
  • 1 Minute Lesedauer
  • If you are upgrading from a previous release, run a script to populate search suggestions with data from a platform search table to provide search suggestions to your users. Alternatively, you can wait until users search for keywords instead of running this script.

    Vorbereitungen

    Role required: admin

    In new instances, the search suggestions are enabled by default. In upgraded instances, you must enable the search suggestions. For more information, see Enable search suggestions.

    Warum und wann dieser Vorgang ausgeführt wird

    The ServiceNow AI Platform collects search data and analytics that generate search suggestions. If you are upgrading from a previous release, the search analytics do not contain any data yet. To immediately provide suggestions to your users, you can populate the search suggestions using knowledge, catalog, and user search records from the Text Searches [text_search] table.

    Search suggestions improve over time as more people use the app. Search Suggestions is a ServiceNow AI Platform feature. For more information, see Search Suggestions.

    Warnung:
    Populating search suggestions can be a resource-intensive task that may take a while to complete. Do not run this script during peak hours. Populating search suggestions is not supported on domain-separated instances.

    Prozedur

    1. Navigate to All > System Definition > Scheduled Jobs.
    2. Open the Populate Suggestions to avoid Cold Start - NowMobile App scheduled job.
    3. Activate the record and select Execute Now.
      Running this scheduled job populates the Search Events [sys_search_event], Search Source Events [sys_search_source_event], and Search Suggestions [sys_search_suggestion] tables with records from the Text Searches [text_search] table.

    Ergebnisse

    Users see suggestions when they start typing in a search field in the Now Mobile app.