Skip to main content

ServiceNow Connector

Use the ServiceNow Connector to link OpenLM Platform with your ServiceNow instance. The connector has three modules, and you can use any of them independently:

  • Adapter: sends OpenLM license management data to ServiceNow on a schedule, where ServiceNow Software Asset Management Professional, SAM Pro, reports on it.
  • Alerts: forwards OpenLM alerts to ServiceNow as task records, as the alerts occur.
  • License Automation Tool: request license file comparison and deployment in ServiceNow, and OpenLM carries them out.

After you complete this guide, you can connect each module to your ServiceNow instance, schedule and run data syncs, receive OpenLM alerts in ServiceNow, and issue the API key that the License Automation Tool application in ServiceNow uses to call OpenLM.

Before you begin​

Confirm these prerequisites:

  • ServiceNow Connector is activated in OpenLM Products. Activation provisions infrastructure and can take up to 10 minutes.
  • The OpenLM Adapter Integration is installed from the ServiceNow marketplace.
  • ServiceNow Connector is active in OpenLM Platform, and you have an administrator role.
  • The OpenLM applications are installed on your ServiceNow instance.
  • You have the ServiceNow instance URL and the service account credentials, or the OAuth client ID and client secret. For the Adapter with Microsoft Entra ID, you have the client ID, client secret, directory (tenant) ID, and scope of your app registration.
  • For SAM Pro reporting, the ServiceNow team has activated the SAM Pro target tables, such as Engineering Application Usage.

To open the connector, select Navigation (the grid icon in the OpenLM Platform header), then Integrations, then ServiceNow Connector.

How the integration works​

Each module has its own connection to ServiceNow and its own direction of data flow:

  • The Adapter pushes data from OpenLM to staging tables in an OpenLM application on your ServiceNow instance. After the last batch arrives, the application moves the staging records into target tables, such as the SAM Pro Engineering Application Usage table, which ServiceNow reports and dashboards use. Syncs run on the schedule you set, and you can start a sync manually at any time.
  • The Alerts module listens for alerts that OpenLM generates and posts each one to the OpenLM Alerts application in ServiceNow, which stores it as a task record with the alert severity mapped to the task priority. Alert forwarding has no schedule: alerts flow continuously after you save the connection.
  • The License Automation Tool works in the opposite direction. A ServiceNow user raises a license request in the OpenLM License Automation Tool application, and the application calls OpenLM with an API key that you issue in OpenLM Platform. OpenLM compares the submitted license file with the file deployed on the license server, or deploys the new file through OpenLM Broker, and posts the result back to ServiceNow.

Components you need​

You need these components to use the ServiceNow Connector:

  • An OpenLM Platform account with the ServiceNow Connector product activated. If ServiceNow Connector does not appear in the main menu, contact your sales agent.
  • A ServiceNow instance with the OpenLM applications installed: the OpenLM data application for the Adapter, the OpenLM Alerts application for alerts, and the OpenLM License Automation Tool application for license automation.
  • A ServiceNow service account for the connector, with rights to import data, or a ServiceNow Open Authorization, OAuth, client ID and client secret. For the Adapter, you can use a Microsoft Entra ID app registration with permission to call the ServiceNow API instead.
  • For SAM Pro reporting, ServiceNow SAM Pro installed and configured on your instance.
  • For the License Automation Tool, OpenLM Broker connected to the license servers you want to manage.

Privacy and data handling​

The connector handles your data as follows:

  • Each module stores its ServiceNow credentials encrypted, per OpenLM Platform account.
  • Saved passwords, client secrets, and API keys are not displayed again after you save them.
  • The Adapter sends license management data only. It does not read data back from ServiceNow.

Configure the integration​

Complete the tasks in this section for the modules you use. Each module has its own Destination Instance tab, so you can connect them to the same instance or to different ones.

Sync license data with the Adapter​

To send license data to ServiceNow, connect the Adapter, then schedule or run a sync. The Adapter sends these data categories: users, computers, projects, groups, group relations, group memberships, license servers, license manager hosts, license inventory, alerts, aggregated usage, aggregated denials, and aggregated concurrent usage. Each category lands in its own staging table, named olm_stg_*, in the OpenLM data application.

Connect the destination instance​

To connect the destination instance:

  1. In OpenLM Platform, open the Navigation menu and select ServiceNow Connector.
  2. On the Destination Instance tab, enter the ServiceNow URL, for example https://your-instance.service-now.com.
  3. Under Authentication Method, select ServiceNow Basic, ServiceNow OAuth 2.0, or Microsoft Entra ID.
  4. If you selected ServiceNow Basic, enter the Username and Password of the ServiceNow service account.
  5. If you selected ServiceNow OAuth 2.0, enter the Client ID and Client Secret from your ServiceNow OAuth registry.
  6. If you selected Microsoft Entra ID, enter these values from your Microsoft Entra ID app registration:
    • Client ID: the Application (client) ID from the app registration's Overview page.
    • Client Secret: the value of a client secret created under Certificates & secrets.
    • Directory (Tenant) ID: the Directory (tenant) ID from the Overview page.
    • Scope: the ServiceNow API that the app registration has permission to call, followed by /.default, for example api://<servicenow-app-id>/.default.
  7. Select Test Connection.
  8. Confirm the success message.
  9. Select Save.

The form doesn't show a saved Password or Client Secret. To keep the saved value, leave the field empty. Enter it again when you change the ServiceNow URL to another instance. With Microsoft Entra ID, also enter the Client Secret again when you change the Client ID, the Directory (Tenant) ID, or the authentication method.

The following image shows the Destination Instance tab with Microsoft Entra ID selected:

Destination Instance tab of the Adapter page with Microsoft Entra ID selected and the Client ID, Client Secret, Directory (Tenant) ID, and Scope fields empty Adapter destination instance settings in the ServiceNow Connector, with Microsoft Entra ID selected

Schedule automatic synchronization​

To schedule automatic synchronization:

  1. On the Adapter page, select the Auto Sync Configuration tab.
  2. Turn on the Auto-Sync toggle.
  3. Set the Auto Sync Time, the time of day when the sync starts.
  4. Select the Time Zone that the sync time refers to. The list is searchable.
  5. Select the Frequency, Daily or Weekly. If you select Weekly, also select the Day Of Week.
  6. Select Save.

Scheduled syncs send the changes since the last successful sync. The first sync after you activate the schedule sends the last 3 months of data.

The following image shows the Auto Sync Configuration tab with a weekly schedule:

Auto sync configuration for the Adapter with a weekly schedule Auto sync configuration for the Adapter, with a weekly schedule selected

Run a manual sync​

To run a manual sync:

  1. On the Adapter page, select Sync Now.
  2. Confirm the message "Manual sync started successfully".
  3. Check Last Sync Status. It shows Processing while the sync runs, then Success or Failed.
  4. When the sync completes, check that Last Successful Sync Time updates.

A manual sync resends the last 3 months of data, so you can use it to backfill ServiceNow after you connect or after a period of failed syncs.

Review the data in ServiceNow​

OpenLM pushes each data category into its own staging table in the OpenLM data application. Find them in ServiceNow under Tables, filtered by the x_oplm_openlm_data prefix.

The following image shows the OpenLM staging tables in ServiceNow:

OpenLM staging tables in ServiceNow The OpenLM staging tables in ServiceNow

After the last batch of a sync arrives, the application moves the staging data into the target tables that SAM Pro uses. For example, usage records appear in Engineering Application Usages with Source set to OpenLM.

The following image shows OpenLM usage data in the Engineering Application Usages table:

OpenLM usage data in the ServiceNow Engineering Application Usages table OpenLM usage data in the SAM Pro Engineering Application Usages table

Forward OpenLM alerts to ServiceNow​

The Alerts module sends every alert that OpenLM generates to the OpenLM Alerts application in ServiceNow. Each alert becomes a task record with an OLM_ALERTS number: the alert title becomes the short description, the connector converts the alert description to plain text, and the alert severity sets the task urgency, impact, and priority. To define which alerts OpenLM generates, see Alerts.

Connect the Alerts destination instance​

To connect the Alerts destination instance:

  1. In the ServiceNow Connector menu, select Alerts.
  2. On the Destination Instance tab, enter the ServiceNow URL.
  3. Under Authentication Method, select Basic or OAUTH 2.0.
  4. Enter the credentials of the ServiceNow service account that receives the alerts.
  5. Select Test Connection.
  6. Confirm the success message.
  7. Select Save.

Alert forwarding starts when you save the connection.

The following image shows the Alerts destination instance settings:

Alerts destination instance settings in the ServiceNow Connector Alerts destination instance settings in the ServiceNow Connector

Set duplicate alert suppression​

When the same alert fires repeatedly, the connector suppresses the repeats for a time window so ServiceNow is not flooded with duplicates. To set the suppression window:

  1. On the Alerts page, select the Configuration tab.
  2. In Duplicate Alert Suppression Time (in hours), enter the window length. The default is 24 hours.
  3. Select Save.

The following image shows the duplicate alert suppression setting:

Duplicate alert suppression setting on the Alerts Configuration tab The duplicate alert suppression window on the Configuration tab

Automate license file changes with the License Automation Tool​

With the License Automation Tool, engineers request license file changes in ServiceNow instead of on the license server. The OpenLM License Automation Tool application in ServiceNow provides License Deployment Requests and a License Comparison Tool: a request carries the new license file, OpenLM compares it feature by feature with the file deployed on the license server, and, on approval, deploys it through OpenLM Broker. OpenLM posts the comparison report and the deployment result back to the request in ServiceNow.

Two connections make this work: the Destination Instance credentials that OpenLM uses to post results to ServiceNow, and an API key plus Connection URL that the ServiceNow application uses to call OpenLM.

Connect the License Automation Tool destination instance​

To connect the License Automation Tool destination instance:

  1. In the ServiceNow Connector menu, select License Automation Tool.
  2. On the Destination Instance tab, enter the ServiceNow URL.
  3. Under Authentication Method, select Basic or OAUTH 2.0.
  4. Enter the credentials of the ServiceNow account created for the integration.
  5. Select Test Connection.
  6. Confirm the success message.
  7. Select Save.

The following image shows the License Automation Tool destination instance settings:

License Automation Tool destination instance settings License Automation Tool destination instance settings

Manage the API key​

The ServiceNow application authenticates its calls to OpenLM with an API key. The key is valid for 1 year, and only one key can be active at a time. To manage the key:

  1. On the License Automation Tool page, select the API Key Management tab.
  2. Select Generate New Key.
  3. Copy the new key and store it securely.
  4. Copy the Connection URL.
  5. In the OpenLM License Automation Tool application in ServiceNow, paste the Connection URL and the API key into the connection settings.

The new key appears only once. If you lose it, revoke the key and generate a new key.

Check the Api Key Status, the Generation Time, and the Expiration Time of the current key. To invalidate the current key, select Revoke Current Key. If a key is already active, revoke it before you generate a new one, and update the ServiceNow application with the new key.

The following image shows the API key management tab:

API key management for the License Automation Tool API key management for the License Automation Tool

Verify the integration​

To verify the integration:

  1. On each module's Destination Instance tab, select Test Connection and confirm the success message.
  2. On the Adapter page, select Sync Now and confirm that Last Sync Status moves from Processing to Success.
  3. In ServiceNow, confirm that the OpenLM staging tables contain new records.
  4. Confirm that SAM Pro target tables, such as Engineering Application Usages, contain records with Source set to OpenLM.
  5. Generate a test alert in OpenLM and confirm that a task record with an OLM_ALERTS number appears in ServiceNow.
  6. For the License Automation Tool, submit a comparison request in ServiceNow and confirm that the comparison report appears on the request.

Troubleshooting​

The following table lists symptoms, their likely causes, and the fixes:

SymptomLikely causeFix
Test Connection failsWrong instance URL, wrong credentials, or the service account lacks import rightsVerify the URL format, reenter the credentials, and confirm the account's roles in ServiceNow
Test Connection fails with OAuthThe OAuth client is inactive or the client secret changedCheck the OAuth registry entry in ServiceNow and reenter the client ID and client secret
Test Connection fails with Microsoft Entra IDThe client ID, client secret, or directory (tenant) ID doesn't match the app registration, or the scope doesn't end in /.defaultCheck the values on the app registration's Overview and Certificates & secrets pages, and enter the scope as api://<servicenow-app-id>/.default
Last Sync Status shows FailedServiceNow was unreachable during the sync, or credentials changed since the last saveRun Test Connection, save the corrected credentials, then select Sync Now
You cannot save Adapter credentialsAn active sync locks credential updatesWait for the sync to complete, then save again
Alerts do not appear in ServiceNowThe alert repeats within the suppression window, or the Alerts connection is missingReduce Duplicate Alert Suppression Time, or verify the Alerts destination instance settings
ServiceNow license requests stay unansweredThe API key expired or lost its validity, or OpenLM Broker is offlineGenerate a new key and update the ServiceNow application, and confirm the Broker connection to the license server
You lost the API keyThe key appears only once, at generationSelect Revoke Current Key, generate a new key, and update the ServiceNow application

Known limitations​

Keep these limitations in mind:

  • The API key appears only once, when you generate it, and only one key can be active per account. Keys expire after 1 year.
  • A manual sync always resends the last 3 months of data.
  • Alert forwarding has no on/off switch. Alerts flow as long as the connection details remain in place.

For more information, see these pages:

The documentation team might draft this page using a large language model. A technical writer reviews every page and verifies it against the product before publishing it. A human makes the final decision.