Configure ServiceNow for Integration with Remote Support

 

You must purchase this integration separately for both your Remote Support software and your ServiceNow solution. For more information, contact BeyondTrust's Sales team.

Unless otherwise noted, all of the steps in this section take place in the ServiceNow interface. We recommend that you initially use development or test instances of ServiceNow before installation in the production instance, so that the integration can be thoroughly tested.

Install BeyondTrust Integration

The Integration must be purchased directly from BeyondTrust. After the purchase, it is installed via the ServiceNow Store. There is no mechanism to purchase the integration at the ServiceNow Store. Follow the steps below to request and install the integration.

  1. Log in to your ServiceNow platform with your corporate account. Please contact your company Now Support (HI) admin if you do not have credentials.

Search for and request the app in the ServiceNow Store.

  1. Search for BeyondTrust Remote Support Enterprise Integration, or go to the app's page.
  2. Click Request App.
  3. Request Remote Support with ITSM.
  1. Within a business day, BeyondTrust approves the request with a $0 purchase price, and sends a copy of these installation instructions to the requester.
  2. Once you receive the confirmation, return to the app's page in the ServiceNow store.
  3. Click Complete Purchase.
  4. Review the contract details.
  5. If you agree, check Accept the Site Terms of Use.
  6. Click Complete Purchase.
  7. The app is ready for installation on your ServiceNow instance(s).
  8. Repeat the steps below for each instance.
  9. Login to the ServiceNow instance on which you want to install the app.
  10. Navigate to System Applications > All Available Applications > All.
  11. Search for the app you want to install.
  12. Click Install.
For more information on installing applications, please see ServiceNow's Help Page.

Create Local Update Set

Local Update Set

Local update sets are used in ServiceNow to capture configuration changes. They can be used to quickly transfer these configuration changes to other environments.

  1. Browse to System Update Sets > Local Update Sets and click the New button above the list of update sets to create a new local update set.
  2. In the Name field, enter BeyondTrust - ServiceNow Integration Configuration (or an equivalent).
  3. Click Submit and Make Current. This update set captures any changes you make during the configuration process. Just make sure that the BeyondTrust - ServiceNow Integration Configuration update set is selected in ServiceNow's update set dropdown for the following steps.
  1. Make sure the Application is set to BeyondTrust Remote Support Enterprise Integration. If it is not, use the settings cog in the upper right of the screen to switch to the aforementioned scope.
  2. After configuration is complete and tested, the local update set can be imported or promoted to new instances of ServiceNow (e.g., the production instance) to quickly replicate the integration. This must be done after transferring the BeyondTrust - ServiceNow retrieved update set.

For more information, please see Transfer the BeyondTrust-ServiceNow Integration Update Sets.

Update BeyondTrust Session Event Types

Update Event Types

Event types are used to control which Remote Support events are processed with a Remote Support session import. This step updates the database with all the available event types.

  1. Browse to BeyondTrust Remote Support > Update Event Types.
  2. This loads all the available Remote Support session event types into the database, so that unwanted events can be filtered out in a subsequent step when setting up your appliance configuration record.

Clicking the link again does not duplicate records and shows that zero event types were inserted.

Set Up ServiceNow Integration with Remote Support

B Series Appliance

B Series Appliance

To set up a ServiceNow integration with Remote Support, follow these instructions:

  1. Browse to BeyondTrustRemote Support > Appliances.
  2. Click New to add a new Remote Support appliance record and enter the following values:
    • Name: Must be Default.
    • Hostname: Hostname of the Remote Support deployment.
    • OAuth Client ID: The OAuth client ID that is used to authenticate to the Remote Support deployment. This is obtained in a previous step, Create a ServiceNow OAuth API Account.
    • OAuth Client Secret: The OAuth client secret that is used to authenticate to the Remote Support deployment. This is obtained in a previous step, Create a ServiceNow OAuth API Account.
    • Integration Enabled: Turns the integration on and off.
    • Import External Sessions: If checked, session reports for sessions that are started external to ServiceNow are imported into ServiceNow.
    • Outbound Event Token: The token that is used as an added security measure to confirm outbound events are coming from the Remote Support deployment that is sending the same token. If left blank, this outbound event token process is ignored. If a value is provided, however, the same value must be sent from all outbound events coming from BeyondTrust as a parameter named outbound_event_token.
    • Accepted IP Addresses: A comma-separated list of IP addresses from which this integration accepts outbound events.
    • Auto Associate With User: If checked, when the session report is imported, the integration attempts to associate a ServiceNow user with the session. The lookup is based on the session's primary representative username.
    • Use Rep Console for Session Keys: By default, session keys are provided by the Remote Support representative console through the use of BeyondTrust Representative Console Script (BRCS) files. If Use Web Console is checked, session keys are provided by the Remote Support web rep console.
    • Work Note Logging
      • Log Session Notes: If checked, session notes are logged to the task's work notes field.
      • Log Session End: If checked, a session end notice is logged to the task's work notes field.
      • Log Generate Session Key: If checked, a work note is logged each time a technician generates a session key.
      • Log Customer Initiated Sessions: If checked, a work note is logged each time a user starts a session with a technician from the employee self-service module.
    • Employee Self Service
      • Issues: A list of issues, each of which must match a Remote Support issue by code name, that is presented to customers in the employee self-service module.

        In a subsequent step, you have the option to load issues from the Remote Support deployment with the click of a button.

      • Self Service Enabled: If checked, a Get Support Now button is displayed on the incident form that customers in the employee see in the self-service module.
      • Session Start Type: Determines how to start a Remote Support session, either by click-to-chat or a full session, for customers requesting support in the employee self-service module.
      • Miscellaneous
        • Events to Import: A list of BeyondTrust session events to process when importing a BeyondTrust session.

You cannot configure this setting until after the appliance configuration record has been saved.

Configure Events to Import

Events to Import

Events to Import

Collection

Event types are used to control which Remote Support events are processed with a Remote Support session import. This step defines which events are processed for each Remote Support session import.

  1. Browse to BeyondTrust Remote Support > Appliances.
  2. Click the name of your appliance configuration record in ServiceNow.
  3. Click the Miscellaneous tab.
  4. Click the Edit Events to Import button (the lock icon).
  5. Click the Add/Remove multiple button (the group of people icon) located on the right side of the field.
  6. Select the events you want from the Collection field on the left and use the arrows to move the events to the List field on the right.

 

You can use CTRL+A to select all events.

  1. Click the Save button when you are finished.

Configure Self-Service Issues

Load Issues

Issues are used to allow customers to select what type of issue they have when requesting a session with a Remote Support representative. These issues are mapped to Remote Support issues (configured in /login) and can be used to route Remote Support sessions.

  1. Browse to BeyondTrust Remote Support > Appliances.
  2. Click the name of your appliance configuration record.
  3. Click Load Issues in the Appliance title bar to auto-load the issues you want from the Remote Support deployment. You are alerted with a summary of how many issues were added and/or updated.
  4. Optionally, you can manually add Issues to the list by clicking the Employee Self Service tab, then double-clicking Insert a new row… at the bottom of the list. Double-click each column to set the value. Changes are immediately saved when you press Enter or click outside of the field.

Configure Journal Entry Table

System Journal

The Journal Entry table (sys_journal_field), which is used to log chat dialogue and session notes, must be set to allow other scopes to insert records.

  1. Browse to System Definition > Tables.
  2. Search by Label for Journal Entry.
  3. Click the link titled Journal Entry.

 

If prompted to edit the record in Global scope, do so.

  1. Click the Application Access tab.
  2. Ensure that the Accessible From field is set to All application scopes.
  3. Ensure that Can Create and Can Update are checked.
  4. Click the Update button.

Configure Remote Support Session Related Lists

Configure Related Lists

Related lists are used to provide a list of Remote Support sessions that are associated with a task (incident, problem record, change request, or service catalog request), call record, configuration Item, or interaction.

Task Configuration

  1. Browse to Incident.
  2. Click Open to see a list of open incidents.
  3. Select an incident by clicking the Incident Number.
  4. Right-click the Incident title bar and select Configure > Related Lists.
  1. Ensure that Support Session > Task has been moved to the Selected column.
  2. Click the Save button.
  3. The Remote Support Sessions list appears towards the bottom of the incident form once these steps are complete.

CMDB Configuration

  1. Browse to Configuration > Servers.
  2. Click All to see a list of servers.
  3. Select a server by clicking the Name of a server.
  4. Right-click the Incident title bar and select Configure > Related Lists.
  1. Ensure that Support Session > Configuration Item has been moved to the Selected column.
  2. Click the Save button.
  3. The Remote Support Sessions list appears towards the bottom of the configuration item form once these steps are complete.

Call Configuration

  1. Browse to Service Desk.
  2. Click My Open Calls to see a list of calls.
  3. Select a call by clicking the Number of a call.
  4. Right-click the Incident title bar and select Configure > Related Lists.
  5. Ensure that Support Session > Call has been moved to the Selected column.
  6. Click the Save button.
  7. The Remote Support Sessions list appears towards the bottom of the call form once these steps are complete.

Interaction Configuration

  1. Browse to Interaction.
  2. Click Open to see a list of open interactions.
  3. Select an incident by clicking the Interaction Number.
  4. Right-click the Interaction title bar and select Configure > Related Lists.
  5. Ensure that Support Session > Interaction has moved to the Selected column.
  6. Click the Save button.
  7. The Remote Support Sessions list appears towards the bottom of the interaction form once these steps are complete.

If using the Agent Workspace, the following views should also be configured to display the list of related Remote Support sessions.

Task Configuration — Agent Workspace

  1. In Agent Workspace, browse to the Open Incidents list.
  2. Select an incident by clicking the Incident Number.
  3. Click the User Menu (context menu displayed when clicking the user icon in the upper-right corner) and select Configure Page > Related Lists.
  4. Ensure that Support Session > Task has moved to the Selected column.
  5. Click the Save button.
  6. When you refresh the Agent Workspace view, the Support Sessions list is available alongside the other related items.
  7. Repeat steps 1-6 for the other task types in use (problem change request, service catalog request).

Interaction Configuration — Agent Workspace

  1. In Agent Workspace, browse to the Interactions list.
  2. Select an Interaction by clicking the Interaction Number.
  3. Click the User Menu (context menu displayed when clicking the user icon in the upper-right corner) and select Configure Page > Related Lists.
  4. Ensure that Support Session > Interaction has moved to the Selected column.
  5. Click the Save button.
  6. When you refresh the Agent Workspace view, the Support Sessions list is available alongside the other related items.

CMDB Configuration — Agent Workspace

  1. In Agent Workspace, browse to a CMDB list.
  2. Select an item by clicking the Name.
  3. Click the User Menu (context menu displayed when clicking the user icon in the upper-right corner) and select Configure Page > Related Lists.
  4. Ensure that Support Session > Configuration Item has been moved to the Selected column.
  5. Click the Save button.
  6. When you refresh the Agent Workspace view, the Support Sessions list is available alongside the other related items.
  7. Repeat steps 1-6 for other types in use.

CMDB Support Session — Agent Workspace

  1. Navigate to https://support.example.com/nav_to.do?uri=%2Fslushbucket.do%3Fsysparm_referring_url%3Dx_bmgr_support_ent_support_session.do%26sysparm_view%3Dworkspace%26sysparm_list%3Dx_bmgr_support_ent_support_session%26sysparm_form%3Drelated_list, where support.example.com is the ServiceNow instance name.
  2. Ensure the following related lists are selected: Rep, Customer, Custom Attribute, Recording, Customer Exit Survey, Rep Exit Survey, Event, and Team. These should already be selected by default, but add any that might be missing.
  3. Even if no changes are necessary, click Save.
  4. Support Sessions now show all the related items within Agent Workspace.

Configure Incident Caller Jump Macros

Configure Caller Dictionary

Remote Support Jump technology can be used for unattended access to devices.

  1. Browse to Incident and click Open to see a list of open incidents.
  2. Select an incident by clicking the Incident Number. Populate the Caller field by clicking the Magnifying Glass icon, and then selecting an item from the list.
  3. Once the Caller field is populated, click the Update button on the incident title bar. This returns you to the incident list. Again, click the name of the incident you just updated.
  4. Right click the Caller Label and click Configure Dictionary.
  5. Locate the Attributes field and take note of the part of the value that reads ref_contributions=task_show_ci_map.
  6. Add any of the values listed below as a semicolon-separated item in ref_contributions. For example, ref_contributions=x_bmgr_support_ent_bomgar_user_jump;task_show_ci;show_related_records.
  7. Click Update to save your changes.

Configure Task CMDB Jump Macros

Dictionary Entry: Configuration Item

Remote Support Jump technology can be used for unattended access to devices.

  1. Browse to Task and click Open to see a list of open incidents.
  2. Select a task by clicking the Task Number. Populate the Configuration Item field by clicking the Magnifying Glass icon, and then selecting an item in the list.
  3. Once the Configuration Item is populated, click Update on the task title bar. This returns you to the task list. Again, click the name of the task you just updated.
  4. Right click the Configuration Item Label and select Configure Dictionary.
  5. Locate the Attributes field and take note of the part of the value that reads ref_contributions=task_show_ci_map;show_related_records.
  6. Add any of the values listed below as a semicolon-separated item in ref_contributions. For example, ref_contributions=x_bmgr_support_ent_bomgar_jump_to;task_show_ci;show_related_records.
  7. Click Update to save your changes.

If the macro icon does not display next to the Configuration Item field when the field is populated with a value, you must verify whether there is a Dictionary Override by following the steps below.

  1. Right-click the Configuration Item Label and click Configure Dictionary.
  2. Locate the Dictionary Overrides related list. Determine if there is an entry in this list for the type of task you are working with (e.g. change_request), and click the item if it exists.
  3. If the Override attributes field is checked, then the attributes are being overridden and you must add the macro to the Attributes field.
  4. Locate the Attributes field and take note of the part of the value that reads ref_contributions=task_show_ci_map;show_related_records.
  5. Add any of the values listed above as a semicolon-separated item in ref_contributions.

Set up Scheduled Job for Session Import

If you have set up the integration using Add Outbound Events for Session Import, do not set up a scheduled job.

ServiceNow Scheduled Script Execution Setup

  1. Browse to System Definition > Scheduled Jobs and click New at the top of the list.
  2. Click the link titled Automatically run a script of your choosing.
  3. Provide the following values:
    • Name: Import Remote Support Sessions
    • Run: Periodically
    • Repeat Interval: 05 (representing 5 minutes)
    • Run this script: (new x_bmgr_support_ent.BomgarRemoteSupport()).pullPendingBomgarReports();
  4. Click Submit to save the job.

Activate the Pull Sessions Module Option

As a way to test the retrieval of Remote Support sessions and as a means to manually pull Remote Support sessions, we have a module which is inactive by default, but which can easily be activated and used.

  1. To activate the module, browse to System Definition > Modules.
  2. Search for text with the value Pull Support Sessions.
  3. Click the record titled Pull Support Sessions.
  4. Find the check box labeled Active, check the box, and click Update.

The Pull Support Sessions link is now visible beneath the BeyondTrust Remote Support Integration menu. Clicking this link pulls only sessions that have occurred after the latest session imported into ServiceNow. If no sessions have been imported into ServiceNow, sessions which occurred over the past 24 hours are retrieved.

Configure Incident States

Show Choice List

UI Action Session Key

Incident states are used in the Remote Support integration, specifically UI actions (like Generate Session Key) to control when the button shows up on incident forms.

  1. Browse to Incident.
  2. Click Open to see a list of open incidents.
  3. Select an incident by clicking the Incident Number.
  4. Right-click the label State and select Show Choice List.
  5. Filter the list by Table=incident. Take note of the different incident choices, specifically the value of incidents with a label of Resolved or Closed and any custom incident states for which BeyondTrust Session Key should not appear.
  1. Return to the incident and right-click the Session Key button located in the Incident title bar.
  1. Select Configure > UI Actions.
  2. In the UI Actions list, click BeyondTrust Session Key.
  3. Focus the Condition field and ensure current.incident_state is configured to include the IDs of the incident states for which the Session Key button should not appear.
  4. If the Resolved and Closed fields you took note of earlier have values of 6 and 7, then the Condition field mentioned above should include the code current.incident_state < 6 so as not to show a Remote Support Session Key button on resolved or open incidents. If there are custom incidents (e.g., Complete), then the condition field may require logic such as && current.incident_state != 8.

    For example, if the button should not appear for incident states 6, 7, and 10, while it should appear for states 1-5, 8, and 9, then the following can be used: gs.hasRole('itil') && current.incident_state != 6 && current.incident_state != 7 && current.incident_state != 10.

Configure Remote Support Username and Authentication

Configure User Form

  1. Log in to your BeyondTrust /login interface with the same credentials as a ServiceNow user who is expected to use BeyondTrust.
  2. Download and install a BeyondTrust representative console from the /login > My Account tab.

Troubleshoot Login Failure

If the login fails, check the following:

  • Make sure that BeyondTrust and ServiceNow are checking credentials against the same LDAP server(s), if appropriate. Check the LDAP server in the BeyondTrust interface under /login > Users & Security > Security Providers.
  • If LDAP authentication is not being used, log in to ServiceNow. Select User Administration > Users, and then select the user to be used for testing and focus on the BeyondTrust Username field.
  • If this field does not exist while viewing a user, hover over the icon next to User on the title bar, and then select Configure > Form Layout and move the BeyondTrust Username field from the Available list to the Selected list. Once done, enter the name of a known-working BeyondTrust user account in this field and save.

For more information on how to check the LDAP server for ServiceNow, please see LDAP Integration.

Configure Email Notifications

Email Notifications

Email Notification Detail

  1. Browse to System Notification > Email > Notification.
  2. Filter by Name=Bomgar, and then click Bomgar Notification.
  3. Verify that:
    • When to send > Send When equals Event is fired.
    • When to send > Event Name equals x_bmgr_support_ent.link.notification.
    • Who will receive > Users/groups in fields equals Caller.
    • Table equals Incident [incident].
  4. Customize the Message text under the section What it will contain. This defaults to the event.parm2 variable. By default, event.parm2 contains only the BeyondTrust session key URL, though this can be changed in the BeyondTrust Integration's Appliance settings.
  5. Browse to System Properties > Email Properties. Verify that the settings are correct for your network.

Assign Users Appropriate Roles

Give ITIL users who provide technical support using this integration the x_bmgr_support_ent.itil role.

You must elevate the admin's role in order to make the following change.

Elevate Roles

  1. Browse to User Administration > Users.
  2. Select a user.
  3. Find the Roles tab and click the Edit button.

 

Edit User

  1. Add the x_bmgr_support_ent.itil role from the Collection list to the Roles list.
  2. Click Save.

 

Use ServiceNow MID Server Option

It is possible to avoid direct connection between ServiceNow and Remote Support by using a MID server for internal Remote Support deployments.

To configure the integration to use a MID server for API requests to a Remote Support site, specify the MID server to use on the individual outbound REST messages:

  1. In ServiceNow, navigate to System Web Services > Outbound > REST Message.
  2. Filter to show only messages for the BeyondTrust application being configured.
  3. Click the Name of one of the messages to edit its properties.

Edit the properties of a REST message for SNOW MID server integration.

  1. In the HTTP Methods related list at the bottom, select the Name of the method (typically post).

 

Select the MID server to use the ServiceNow MID server for the selected message.

  1. On the resulting form, select the HTTP Request tab and select your MID server in the Use MID Server field.
  2. Click Update to save the changes.

 

Repeat these steps for each outbound REST message that is a part of the application.

For more information on MID servers, please see MID Server.

 

Use Rep Survey Task Association Option

Rep Survey Task Association

It is possible to associate Remote Support sessions with ServiceNow incidents by means of a field in the rep exit survey. Several things need to be configured to make this functionality work.

Configure Rep Exit Survey in Remote Support

  1. In Remote Support /login, browse to Public Portals > Exit Surveys.
  2. Under Representative Survey, click the Add button and select Text Box.
  3. For Question Text, type Enter the task number. Make sure Question Name has the value of task_number and the Answer Required check box is checked.

Configure Rep Exit Survey Business Rule in ServiceNow

  1. In ServiceNow, browse to System Definition > Business Rules, search by name for Associate Session via Rep Survey and click the business rule with the same name.
  2. In the Business Rule record, the Active check box is unchecked by default. Check this box and click Update to save the record.

Once these changes have been made, sessions started outside of ServiceNow are associated with a task record within ServiceNow. The representative pastes the number or sys_id of a task in ServiceNow to that which they want to associate the Remote Support session, at the end of the session.