xMatters Documentation

Pod ownership

Who to ask
Product Manager
David Halford
Overview

The xMatters Connector links Fusion to the customer's xMatters notification system. It keeps people, groups and group members the same in both systems, and it lets Fusion users send xMatters notifications and track each recipient's response in Fusion.

Continuity teams build and maintain their contacts, Teams and Rosters in Fusion, but send emergency notifications from xMatters. The connector uses the xMatters REST API to push and pull that data, so groups are updated in one place only. Either system can be the system of record. The connector also adds Communication Plan, Notification and Recipient objects. A user picks a Communication Plan set up in xMatters, writes the message, picks individuals or groups, and sends. Fusion then records each delivery and response.

Outcomes

  • Fusion users create and update contact groups in Fusion and push them to xMatters without logging in to xMatters.
  • Administrators choose the system of record, the field mapping, the record filters and the schedule for each data type.
  • Notifications are sent and responses tracked from inside Fusion.

How it works

Each Sync Action has its own direction. Inbound actions read from xMatters and write to Fusion. Outbound actions read from Fusion and write to xMatters. Notifications always go out from Fusion; delivery and response data come back into Fusion as Recipient records.

  1. 1
    Run a Sync Job

    A Service Sync Job runs its enabled Sync Actions in the order set in each action's Order field.

  2. 2
    Translate records with Service Maps

    Service Map records translate Fusion fields to xMatters properties and back. Sync Action Criteria limit which Fusion records an action touches.

  3. 3
    Relate groups through Group Proxies

    Each xMatters group is held in Fusion as a Group Proxy record. An administrator relates each Group Proxy to one Team or one Roster. Membership actions then sync the group's members with that Team's or Roster's members.

  4. 4
    Log the run

    Each run writes Sync Log records with start, per-action results, errors and finish.

  5. 5
    Send a notification

    The user saves and sends a Notification. Fusion calls the Communication Plan's xMatters Integration Builder trigger and records the request.

  6. 6
    Poll for status and responses

    While any Notification has Status REQUESTED or ACTIVE, a background job checks xMatters every minute. It updates the Notification's Status and creates or updates one Recipient record per delivery and response.

Sync Jobs run on demand (Run Sync Job button) or on a schedule set on the Service Sync Job: Daily, Weekly or Monthly at a chosen Execution Time. Notification status polling starts when a notification is sent and repeats every minute until no notification is REQUESTED or ACTIVE.

Key terms

Service Sync Job, Sync Action and Sync Action Criteria
A Sync Job groups Sync Actions. Each Sync Action is one Inbound or Outbound Insert, Update or Delete of Contacts, Groups or Memberships. Criteria filter the Fusion records an action touches.
Service Map
A mapping rule between a Fusion field and an xMatters property. Direction is Both, Fetch Only (xMatters to Fusion) or Send Only (Fusion to xMatters). Flags mark a map as Required, Empties as Null, Custom Property or Platform Field External ID.
Group Proxy
The Fusion record for one xMatters group. It holds the Service Group ID and points to one Related Team or one Related Roster, never both.
Communication Plan
A Fusion record that mirrors an xMatters communication plan and form. It stores the Form Name, the Integration Endpoint for the Integration Builder trigger, and up to nine Poll Options.
Notification
A message built in Fusion and sent to xMatters as an event. Status is REQUESTED, ACTIVE, TERMINATED or NOT_FOUND.
Recipient
One delivery or response for a Notification, with Delivery Status, Device and Response. It links to the matching Key Contact when one exists.
Service Contact Id and Service Roles
Fields added to Key Contact. Service Contact Id stores the xMatters person ID. Service Roles holds the xMatters role (Standard User or No Access User).
01

Before you start

Licensing

xMatters subscription

The customer needs an xMatters account and an xMatters administrator account.

Sales availability

Per a November 2024 internal sales update, the xMatters Connector is no longer sold to new customers and is no longer in the price book. Existing customers can renew.

Packages

PackageMinimumNote
The Fusion Framework (ff_2gp)LatestRequired base package.
XMatters Connector (xmdc_2gp)LatestThe connector. Installs the xMatters Connector app and the sync and notification objects.

Data

The connector moves people, groups and group memberships, and records notification results. On the xMatters side these are People (with devices), Groups and Group Members. On the Fusion side they are Key Contacts, Group Proxies (each tied to a Team or Roster), and Team Members or Roster Members.

What moves between the systems

Key Contact (ff_2gp__Key_Contact__c)

Both ways between Fusion and xMatters: People (with devices). Matched on Service Contact Id. On a new install, default maps send Email as the xMatters targetName and the record Id as externalKey, and map First Name, Last Name, Service Contact Id and Service Roles both ways.

Group Proxy (GroupProxy__c)

Both ways between Fusion and xMatters: Groups. Matched on Service Group ID. Default maps send Name as targetName and the record Id as externalKey.

Team Member (ff_2gp__Team_Member__c) and Roster Member (ff_2gp__Roster_Member__c)

Both ways between Fusion and xMatters: Group members. Uses the Team or Roster related to each Group Proxy. A Group Proxy with no Related Team or Related Roster has no members to sync.

Notification (Notification__c) and its Notification Team, Notification Roster and Notification Key Contact records

From Fusion to xMatters: Event triggered through an Integration Builder inbound integration. The Name becomes the xMatters subject property and the Body becomes the html property.

Recipient (Recipient__c)

From xMatters into Fusion: Event audit (deliveries and responses). Linked to a Key Contact by xMatters Recipient Id. A response from a person never synced to Fusion has no Key Contact link.

What you can configure

Field mappings live in Service Map records (Service Map tab). The default maps are created on a new install only when no Service Maps exist. Device maps pick from the device names defined in xMatters. Which records move is set by Sync Action Criteria.

Roles and permissions

xMatters Admin
Full access to the connector objects and fields, the xMatters Connector app, its tabs and its Visualforce pages, including the notification page.
XMDC_AuraEnabledApexPermissions
Apex class access for Lightning components. The package assigns it to all users on first install.
02

Capabilities

What each part of the connector does and how people use it. Setup for each is under Implementation.

Required always set up Optional included, set up if the customer uses it

Run a sync now

Required

How to use it

  1. Open the Service Sync Job record and click Run Sync Job, then Run Sync Job again on the confirmation page.
  2. Open the Sync Log tab to see the results.

Send a notification

Required

How to use it

  1. Open the Notification tab and click New (or, on the Global Map, click New xMatters Notification).
  2. Select a Communication Plan.
  3. Enter a Name and Body.
  4. Select Individuals or Groups.
  5. Click Save, or Save and Send to send it now.

Review responses

Required

How to use it

  1. Open the Notification and review its Recipients.
  2. Run the Notification Response report (xMatters Reports folder, report type Notifications with Recipients with Recipient Responses).

Send from a Flow

Required

How to use it

  1. Add the Send Message action to a flow. Inputs include Subject, Body, Communication Plan, Key Contacts, Teams, Rosters and response options.
03

Implementation

Everything an implementer sets up, in the order to build it. Advanced configuration explains the settings behind these steps and when to change them.

  1. 1

    Prepare xMatters

    Required

    What must be in place in xMatters and in Salesforce before you install.

    • The Fusion Framework is installed in the org.
    • An xMatters user name and password for an API user with the right xMatters permissions.
    • For notifications: an xMatters user with the Company Supervisor, Developer and Full Access User roles to build Communication Plans and Integration Builder inbound integrations.
    • Each xMatters form used from Fusion is deployed with Enable for Web Service checked.
    Depends onNothing
  2. 2

    Install the package and assign permissions

    Required

    • Install The Fusion Framework, then the XMatters Connector.
    • Assign xMatters Admin to administrators and to the user who runs scheduled Sync Jobs.
    Depends onPrepare xMatters
  3. 3

    Connect to xMatters

    Required

    The connector calls xMatters only through these two named credentials, by name.

    • In Setup, open Named Credentials and create one named xMatters. Use the xMatters REST API URL for the customer's xMatters instance.
    • Set Identity Type to Named Principal and Authentication Protocol to Password Authentication, and enter the xMatters API user name and password.
    • Create a second named credential named xMattersEvent for the customer's xMatters instance, with the same authentication settings. Notifications use it to call Integration Builder triggers.
    Depends onInstall the package and assign permissions
  4. 4

    Review the Service Maps

    Required

    • Open the Service Map tab and review the default maps.
    • Add maps for other fields, custom properties and devices. Mark a map Required when xMatters needs the value to create a record.
    Depends onConnect to xMatters
  5. 5

    Build a Sync Job

    Required

    • Open the Service Sync Job tab, click New, name the job and save.
    • Add Sync Actions with a Platform Object and Service Object (Contacts, Groups or Memberships), Direction, Operation Type, Order and Batch Size, and check Enabled.
    • Order the actions so people and groups exist before memberships.
    • Add Sync Action Criteria where an action should touch only some records.
    • Click Run Sync Job and check the Sync Log tab.
    Depends onReview the Service Maps
  6. 6

    Relate Group Proxies to Teams and Rosters

    Required

    Membership sync works only for Group Proxies related to a Team or Roster.

    • Sync xMatters groups into Fusion with an inbound Groups action.
    • Open each Group Proxy, click Edit, and fill in Related Team or Related Roster.
    Depends onBuild a Sync Job
  7. 7

    Set up Communication Plans

    Required

    • In xMatters, build a communication plan and form with a subject property and an html property, add the responses, and deploy the form with Enable for Web Service.
    • In the plan's Integration Builder, add an inbound integration that creates an xMatters event from that form, using Basic Authentication.
    • Copy the end of the integration's trigger URL (the ID and /triggers part).
    • In Fusion, open the Communication Plan tab and click New. Enter the Name and Form Name to match xMatters, paste the trigger part into Integration Endpoint, and enter the responses in Poll Option 1 to 9 in the same order as xMatters.
    Depends onRelate Group Proxies to Teams and Rosters
04

Advanced configuration

The settings behind the setup steps: what each one is, why it matters and when to change it.

Schedule a Sync JobThe Scheduled, Interval, Day of the Week, Day of the Month and Execution Time fields on a Service Sync Job.

What it is

The Scheduled, Interval, Day of the Week, Day of the Month and Execution Time fields on a Service Sync Job.

Why it matters

Scheduled jobs keep both systems current without anyone running them.

When to change it

  • After the job has run cleanly on demand.

How

  • Edit the Service Sync Job, check Scheduled, choose an Execution Time and Interval, and save.
  • To stop it, uncheck Scheduled and save. Saving cancels the scheduled Apex job.
Required and Empties as Null on Service MapsTwo checkboxes on each Service Map.

What it is

Two checkboxes on each Service Map.

Why it matters

Required stops records that are missing a value xMatters needs. Empties as Null sends nothing instead of an empty string when the Fusion field is blank.

When to change it

  • xMatters rejects records, or blank Fusion fields wipe xMatters values.

How

  • Edit the Service Map and set the checkbox.
Notification Access SettingCustom metadata records that limit which Key Contacts, Teams and Rosters a profile can choose as recipients.

What it is

Custom metadata records that limit which Key Contacts, Teams and Rosters a profile can choose as recipients.

Why it matters

Plan editors often can read many contacts and groups but should notify only their own.

When to change it

  • End-user profiles send notifications.

How

  • In Setup, open Custom Metadata Types and click Manage Records next to Notification Access Setting.
  • Create records with a Profile and an Access Type (the same seven types as the other notification connectors), and a Custom User Lookup for the "User Lookup" types.
06

Troubleshooting

Limitations

  • Group Proxies are not related to Teams or Rosters automatically; an administrator relates each one.
  • Fusion logs every response from every device, while xMatters reports one response per person, so response counts can differ between the two systems.
  • Responses can lag delivery by a minute or two because status is polled once a minute.
  • The Log Errors to CSV and Log Request checkboxes on Sync Action are not used by the current code.

Common problems

Error: Please select either a Related Team or a Related Roster.

A Group Proxy can point to a Team or a Roster, not both. Clear one of them.

Error: This Team is already associated with a Proxy. (or the same for a Roster)

Each Team or Roster can be related to only one Group Proxy. Use the existing proxy.

Message: You must select a Communication Plan

Pick a Communication Plan on the notification. Create one first if none exist.

Message: You must select at least one Recipient.

Select at least one individual or group.

Responses do not appear on the Notification.

In Setup, open Apex Jobs and check that the notification status polling job is running.

A Sync Job says it cannot recognize the user.

Check the user name and password in the xMatters named credential and the user's xMatters permissions.

Flag a problem