Populate search suggestions in the mobile apps

  • Release version: Zurich
  • Updated July 31, 2025
  • 1 minute to read
  • 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.

    Before you begin

    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.

    About this task

    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.

    Warning:
    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.

    Procedure

    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.

    Result

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