Setting Up the ServiceChannel Application for ServiceNow
- Joseph Yarborough (Unlicensed)
- Anastasiya Dashuk (Unlicensed)
- Natalia Larina (Unlicensed)
Before You Start
To use the ServiceChannel-ServiceNow integration, your company needs to have Service Automation and an instance of ServiceNow where you can install the ServiceChannel Facilities Management app. This app serves as a connector between the ServiceChannel and ServiceNow platforms and can be downloaded from the ServiceNow store.
A ServiceNow administrator from your company with the ServiceNow HI access needs to request and configure the app for installation on the ServiceNow store. Once the app is linked to your instance, the ServiceChannel Facilities Management application is listed in the ServiceNow Application Manager. An administrator can install and upgrade the ServiceChannel Facilities Management app from the Application Manager.
For the ServiceChannel-ServiceNow integration, there are two roles available — user role and admin role.
Role | Description | Available Sections |
---|---|---|
User role [x_serch_scc.user] | ServiceNow users with the application user role. They can create work orders in ServiceNow and view ServiceChannel work orders, but only for locations associated with their connection. |
|
Admin role [x_serch_scc.admin] | ServiceNow users with the application admin role who have full access to all functionality. |
|
Setting Up the Integration
There are several steps that you should take to connect the two platforms together:
- Obtain the client ID and client secret.
- Configure system properties in ServiceNow.
- Set up a service account.
- Import the data.
- Configure the status types.
- Import users.
- Import work orders.
Obtain the Client ID and Client Secret
For the ServiceNow application to talk to Service Automation, you need to provide ServiceNow with a system identifier and password required for security and authentication. These are known as the client ID and client secret.
- In Service Automation, navigate to Admin > Permissions > API Integration.
- Find the required client ID and client secret. If they are not present, click Add new client. Fill out all the required fields in the overlay to receive the client ID and client secret. Learn more about registering an API application on the developer portal.
A ServiceNow-ServiceChannel Connection is required for users to submit work orders in ServiceNow. To allow creating user Connections automatically via the single sign-on service (SSO), do the following:
- In Service Automation, specify a Callback URI for your API client. The URI should look like this:
https://{host}.service-now.com/api/x_serch_scc/sc_auth/token
, where{host}
is the host of the ServiceNow instance. - In ServiceNow, configure the below settings in Administration > System Properties:
- Enable SSO Support for the current client by selecting Yes.
- Enter the Cobrander ID (cid) for the current client. Contact ServiceChannel to get your Cobrander ID.
With this configuration in place, when a user first opens the page for creating a work order, a Connection for the ServiceChannel app is automatically created for them.
Configure System Properties
Now it’s time to adjust system properties in ServiceNow.
- In ServiceNow, navigate to Administration > System Properties, and specify the following:
- Enter the Subscriber ID for the current client, which is the identifier of your company in ServiceChannel.
- Add the obtained client ID and client secret to the Default Client ID and Default Client Secret fields. These client ID and client secret are used as default values when creating Connections.
- In the System URL list, select the ServiceChannel environment you are connecting to: either one of the Sandbox environments or Production.
Set Up a Service Account
Once you have adjusted system properties, you need to add a service account.
A service account is a user account in Service Automation that is used to download all the data and pull work order updates into ServiceNow. It should be able to read all data in Service Automation. Your user within the ServiceChannel platform should have the following:
- All permissions turned on
- Access to all trades
- Super Admin secondary role enabled
- Be assigned a Dashboard
Learn more about configuring permissions and granting Dashboard access to a ServiceChannel user.
- Navigate to Connection > Create New, and select the Service account checkbox.
- In the User list, select a ServiceNow user for whom you want to create a service account, and then enter their ServiceChannel user ID and password.
- Click Connect.
Once the user account is connected, you see a notice that the data sync is in progress. After a few seconds, the connection status changes to OK if everything has worked correctly. You may need to refresh the page.
We recommend creating a user account in ServiceNow specifically for the service account. This account is used for importing data. It is impossible to have more than one service account.
Import the Data
Once the system properties and service account are set up, and the service account is connected with the OK status, the data from Service Automation should be imported to ServiceNow.
The data load can take anywhere from several minutes up to a few hours and is best handled by a ServiceNow administrator or with the assistance of a ServiceChannel implementation manager.
- Navigate to Connection > Service Account, and click Import All Data under Related Links.
A series of scheduled jobs is used to import the following data:
- Statuses
- Categories
- Priorities
- Trades
An administrator can see these requests in the Administration > HTTP Requests module. When no more TradePoller requests are being created, the import is complete.
Configure the Status Types
Once the status records have been imported, you should choose which statuses are default, which act as canceled, and which ones should require feedback.
- As a system administrator or application administrator, navigate to Data > Status.
- Edit the status records that have been created:
- Choose the status that should be used when a new work order is created, for example, Open. Open the record, and change the Type to Default.
- Choose the status that should be used when a work order has been canceled, for example, Completed/Canceled. Open the record, and change its Type to Canceled.
- Choose the status or statuses that should allow the feedback to be given, for example, Completed / Pending Confirmation. Open the record, and select the Show feedback checkbox.
Import Users
Now that all configurations are in place, you can start importing users.
Connections required for users to create work orders in ServiceNow are automatically created upon import. A Connection is set up for users who have the same user ID or email in both ServiceChannel and ServiceNow. A user can view their Connection in Connection > My Connection.
- Navigate to Configuration > Pollers, and click the SC - Import Users from SC poller.
- On the poller page, click Execute Now.
- The import process can take some time. You can see UserPoller and LocationPoller requests in the Administration > HTTP Requests module. When no more requests are being created, the user import is complete.
- (Recommended) To allow ServiceNow to automatically fetch new users from ServiceChannel and create relevant Connections, activate the user import poller to run at the specified frequency. To do this:
- On the poller page, select the Active checkbox.
- In the Run list, select how often the poller should run. The recommended frequency is Daily. It is best practice to have the poller run outside of business hours, such as at midnight — when employees are not actively using the application.
- Specify the Time when the request should be executed, for example, at midnight.
- Click Update to save the changes.
You can run the user import poller at any time to retrieve newly created users.
Import Work Orders
The final step is importing work orders from ServiceChannel.
- Navigate to Configuration > Pollers, and click the SC - Import Work Orders poller.
- On the poller page, click Execute Now.
The import process can take some time. You can see WorkOrderPoller and NotePoller requests in the Administration > HTTP Requests module. When no more requests are being created, the work order import is complete. - To allow ServiceNow to automatically fetch new work orders from ServiceChannel, activate the work order import poller. To do this:
- On the poller page, select the Active checkbox.
- In the Run list, select Periodically.
- Set up the poller to run every 3 minutes by specifying the number of minutes next to Repeat Interval. 3 minutes is the recommended frequency, but you can change it to the value you need.
- Click Update to save the changes.
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page: