Troubleshooting and Maintenance for ServiceNow

If you come across any issues installing or using the ServiceChannel-ServiceNow integration, check the troubleshooting and maintenance tips described in this article.

Troubleshooting

Failed to create workorder: Equipment required to create this WorkOrder

The error occurs when you create a work order and do not provide an asset, while the dashboard settings in Service Automation require an asset to be provided.

⦿ Workaround
  1. Navigate to the ServiceNow work order that you have just created, and select an asset. If no assets exist, ensure you have created them in Service Automation.
  2. Save the work order record.
⦿ Resolution
  1. Navigate to Administration > System Properties.
  2. Enable the Require an asset to be selected (if available) when submitting a new work order option.
    Enabling the Require an asset option

You should also ensure that assets are available for each location.

Error: Issue choice not found

When you create a new work order, sometimes ServiceNow cannot find the ServiceChannel issue choice list. This means the default category, trade, and priority based on the type of issue you are raising are not able to be populated.

This may happen for one of two reasons:

ReasonResolution
The ServiceNow data and the Service Automation data do not match.Perform a full import to pull the data into ServiceNow. See Importing Data for information on how to do this.

The Service Account does not have full access to the data in Service Automation.

Validate that the username designated to the Service Account connection has full access to the data in Service Automation.

Connection Without User Locations

When a user is not able to view any work orders, check their locations. Each Connection record has a related list of user locations. These records specify which locations the user has rights to create and view work orders for.

If the location profile in Service Automation is updated, or the user locations list in ServiceNow is empty, import the locations.

⦿ How to Synchronize Locations
  1. As an administrator, navigate to the user’s Connection record.
  2. Click Synch Locations under Related Links.
    Synchronizing locations

Errors Upon Configuring a Service Account

When you configure a service account, you may face errors with the following error codes:

  • 400
  • 404

Facing the 400 Error

The 400 error may occur after you click the Connect button.

400 error that may occur when you configure a service account

⦿ Resolution
Check the entered username and password. Make sure that the service account is correctly configured in the ServiceChannel platform and the username and password are valid.

Facing the 404 Error

The 404 error may occur after you click the Connect button.

404 error that may occur when you configure a service account

⦿ Resolution

Check the entered client ID and client secret. Make sure the client ID and client secret are correctly configured on the API Integration page of the ServiceChannel platform.

API Integration section in the ServiceChannel platform where you configure the client ID and client secret

Invalid Work Order Status

Upon creating a work order, you may get a warning message stating that the work order might not be synchronized with ServiceChannel because of an invalid work order status.

Error message that appears when there is an invalid work order status when you create a work order

⦿ Resolution
  1. Navigate to the statuses list in the Data section, and click the Open status to view the related details.
  2. Select the Default type for the Open status, and then click Update to save your changes.
    Setting the Default type for the Open status
  3. Go back to the statuses list, and select the Completed/Cancelled status.
  4. On the status details page, set the Cancelled type, and then click Update to save your changes.

Troubleshooting HTTP Error Codes

When the application is functioning without issues, all status codes found in the HTTP Requests section under Administration should equal 200.

HTTP Requests section under Administration where you can view status codes and other info

Here are the errors that may occur when you use the application:

Error codeDescriptionResolution
401UnauthorizedMake sure the service account is configured properly.
429Too Many RequestsPlease contact the ServiceChannel support team at support@servicechannel.com.
500Internal Server ErrorPlease contact the ServiceChannel support team at support@servicechannel.com.
503Service UnavailablePlease contact the ServiceChannel support team at support@servicechannel.com.
0Socket TimeoutPlease contact the ServiceChannel support team at support@servicechannel.com.

Maintenance

Importing Data

It is useful to occasionally import all the Service Automation data to ServiceNow.

⦿ How to Import Data
  1. As an administrator, navigate to the Service Account connection.
  2. Click Import All Data under Related Links.
    Importing all data

Synchronizing All Work Orders

By default, the system updates work orders in ServiceNow only when there is an update in Service Automation.

When you need to perform a full synchronization of all the work orders in the system, for example, due to the system downtime, you can do this from the ServiceChannel Facilities Management app.

⦿ How to Synchronize All Work Orders
  1. As an administrator, navigate to Administration > HTTP Requests.
  2. At the top of the HTTP requests list, click Fetch all work orders. A staged load of all work orders from Service Automation starts. That will update all the work order data in ServiceNow.
    Fetching all work orders