Configuring Native Search

ServiceNow search sources make it easier for users to search data on the portal. SailPoint's search source can be configured to help users in finding SailPoint’s access objects through portal search. For more information on searchable fields, refer to Searchable Fields - SailPoint Identity Services.

Admins in ServiceNow can configure the SailPoint Search Source by performing the following steps.

  1. Go to Service Portal > Portals and open the relevant portal record.

  2. AI Search in ServiceNow doesn't support external sources. Ensure the Enable AI Search checkbox is unchecked, and that the scope has been set correctly.

  3. Go to the Search Sources list and select Edit.

  4. Add SailPoint Requestables to the Search Source List and select Save.

    Note
    ServiceNow does not support external sources when the AI search feature is enabled.

    After completing the above mentioned configuration, users will be able to use the service portal search to look for SailPoint access objects.

    Upon selection of any result from the SailPoint requestable source, the signed in user will be redirected to the page that has been defined in the Native Search field on the setup page. For example, manage_access. The pages Manage_Access and ISC_Request have been configured to access the values. If you use a custom page, the target page should include the widget for ISC Access Object Selection.

    Note
    Search Source will work only for users that have x_sap_integration.user or admin access in ServiceNow and a valid identity present in Identity Security Cloud.

Adding Paginated Result Support for the SailPoint Search Source

By default, the paginate results option is disabled for the SailPoint Search Source, however, ServiceNow admins can enable it.

Caution
Due to the data retrieval method of the SailPoint Search Source from the REST API, it is essential to utilize facets in conjunction with pagination when conducting searches. This approach guarantees accurate results.

To add paginated support for the SailPoint Requestables Search Source, refer to the Knowledge Base search source, Product Documentation | ServiceNow, as recommended by ServiceNow.

In the data retrieval script, ServiceNow uses undocumented objects like query, queryLocation, etc. Any changes made to these objects either by ServiceNow or any other customization may result in paginated search failure.

Enable the Paginated Result and Facets for the Search Source

Admins in ServiceNow can disable pagination for the SailPoint Search Source by performing the following steps:

  1. Go to Service Portal > Search > Search Sources and open the SailPoint Requestables search source record.

  2. Select the checkbox to enable Paginate Results.

  3. Copy the following code, and paste it into the Data Fetch Script.

  4. Uncomment the code from the Facet Generation Script and select Update.

    Note
    Any modifications to the internal ServiceNow object utilized in the data fetch script will cause the paginated search to fail.

  5. Select Update.