Connecting ServiceNow
editConnecting ServiceNow
editServiceNow is a cloud-based IT Service Management (ITSM) platform focusing on workflow automation and internal organizational support. The ServiceNow connector provided with Workplace Search automatically captures, syncs and indexes the following items:
Users |
Members of the ServiceNow platform associated to Incidents and other items, with associated email and activity data |
Incidents |
With associated ID, description, activity data and priority |
Request Items |
With associated ID, description, cost-related attributes, approval status, and activity data |
Knowledge Articles |
Including article content, topic and activity data |
Configuring the ServiceNow Connector
editConfiguring the ServiceNow connector is the first step prior to connecting the ServiceNow service to Workplace Search, and requires that you create an OAuth App from the ServiceNow platform. To get started, first log in to ServiceNow and access your administrative dashboard:
Step 1. Use the search bar on the left-hand side to search for Application Registry:
Step 2. We will need a new application. Click the New button:
Step 3. A trio of text links appears. Select Create an OAuth API endpoint for external clients:
Step 4. Next, provide a name for the application. Then add the Workplace Search OAuth redirect URL for your deployment.
Step 5. Once the information has been properly entered, click Submit.
The app is created, and we may now retrieve the Client ID and Client Secret. Find your app within the list and access it:
Step 6. From the Workplace Search administrative dashboard’s Sources area, locate ServiceNow and provide both the Client ID and Client Secret. Voilà! The ServiceNow connector is now configured, and ready to be used to synchronize content. In order to capture data, you must now connect a ServiceNow instance with the adequate authentication credentials.
Connecting ServiceNow to Workplace Search
editOnce the ServiceNow connector has been configured, you may connect a ServiceNow instance to your organization.
Step 1. Head to your organization’s Workplace Search administrative dashboard, and locate the Sources tab.
Step 2. Click Add a new source.
Step 3. Select ServiceNow in the Configured Sources list, and follow the ServiceNow authentication flow as presented.
You will need your ServiceNow Base URL (or instance URL), which should look like this:
https://[your subdomain].service-now.com
For security reasons, the Base URL cannot be a localhost URL.
Disable this localhost check for your Workplace Search deployment, including ServiceNow configurations, with workplace_search.content_source.localhost_base_urls.enabled:true
.
Step 4. Upon the successful authentication flow, you will be redirected to Workplace Search, and your organization’s ServiceNow content will now be captured and will be ready for search gradually as it is synced. Once successfully configured and connected, the ServiceNow synchronization automatically occurs every 2 hours.
Synchronized fields
editThe following table lists the fields synchronized from the connected source to Workplace Search. The attributes in the table apply to the default search application, as follows:
- Display name - The label used when displayed in the UI
- Field name - The name of the underlying field attribute
- Faceted filter - whether the field is a faceted filter by default, or can be enabled (see also: Customizing filters)
-
Automatic query refinement preceding phrases - The default list of phrases that must precede a value of this field in a search query in order to automatically trigger query refinement. If "None," a value from this field may trigger refinement regardless of where it is found in the query string. If
''
, a value from this field must be the first token(s) in the query string. IfN.A.
, automatic query refinement is not available for this field by default. All fields that have a faceted filter (default
orconfigurable
) can also be configured for automatic query refinement; see also Update a content source, Get a content source’s automatic query refinement details and Customizing filters.
Display name | Field name | Faceted filter | Automatic query refinement preceding phrases |
---|---|---|---|
Id |
|
No |
N.A. |
URL |
|
No |
N.A. |
Title |
|
No |
N.A. |
Type |
|
Default |
None |
Last updated |
|
No |
N.A. |
Updated at |
|
No |
N.A. |
Number |
|
No |
N.A. |
State |
|
Configurable |
[ |
Priority |
|
Default |
[ |
Impact |
|
Configurable |
[ |
Urgency |
|
Configurable |
[ |
Closed at |
|
No |
N.A. |
Opened at |
|
No |
N.A. |
Body |
|
No |
N.A. |
Assigned to |
|
Default |
[ |
Created by |
|
Default |
[ |
Opened by |
|
Configurable |
N.A. |
Closed by |
|
Configurable |
N.A. |
Resolved by |
|
Configurable |
N.A. |
Status |
|
Default |
[ |
|
Configurable |
N.A. |
|
Username |
|
Configurable |
N.A. |
Price |
|
No |
N.A. |
Recurring price |
|
No |
N.A. |
Approval |
|
Configurable |
N.A. |
Quantity |
|
No |
N.A. |
Article type |
|
Configurable |
N.A. |
Topic |
|
No |
N.A. |
Published at |
|
No |
N.A. |