The current Engage with xMatters works great for Incidents. This Add-on adds the Engage functionality to the Problem Management module in ServiceNow. It currently only does outbound to xMatters, but adding the closed loop portion would be relatively easy.
- Version 4.0.2+ of the xMatters App in the ServiceNow store.
- ServiceNow Helsinki, Istanbul or Jakarta
- xMatters account - If you don't have one, get one!
- ServiceNow40ProblemManagement.zip - The Problem Management workflow. Currently only has an Engage with xMatters form.
- ServiceNow-Engage-Problem-UpdateSet.xml - Update set for loading into ServiceNow.
A new UI Action button on an open Problem record will display the Enage with xMatters dialog requesting recipients, sending priority, a subject and a message.
After clicking submit, the information is populated into an Engage with xMatters Problem record and the insert triggers a business rule. The business rule adds an entry to the event queue in ServiceNow, which fires a Script Action. The Script Action makes the REST call into the inbound integration builder which then creates the event in xMatters and notifies the recipients.
- Login to xMatters as a Company Supervisor and navigate to the Workflows.
- Import the ServiceNow40ProblemManagement.zip workflow.
- Next to the
ServiceNow 4.0 - Problem Management
workflow, click Edit > Integration Builder and expand the Inbound Integrations. - Click on the
Engage with xMatters - Problem
integration, scroll to the bottom and copy the url. Keep this for later. - Repeat for the
Conference - Problem
integration.
- Login to ServiceNow and navigate to Retrieved Update Sets.
- Click the Import Update Set from XML link at the bottom and point to the ServiceNow-Engage-Problem-UpdateSet.xml file.
- Preview the update set and commit. This is all net new records so there should not be any files overwritten.
- Navigate to Script Includes and search for
xMattersConfigProblem
. - Open the record and look for this section and update each entry with the url copied above.
this.ENGAGE = {
FORM: {
ENGAGE: "Engage with xMatters - Problem URL here",
CONFERENCE: "Conference - Problem URL here"
}
};
Navigate to an existing Problem record and click the Engage with xMatters
button in the upper right. This will display the Engage with xMatters dialog:
Enter the required fields and hit Submit. A new event will be created in xMatters and notifications will be sent targeting the recipients. If a conference bridge was selected, they will be invited to a conference.
The first place to check is the Activity Stream in the Integration Builder for the expected inbound integration. If an entry is there for the Engage request, then ServiceNow successfully made the request and the task is to determine why an event was not created.
If the Activity Stream entry does not exist, then ServiceNow did not make the request and the System Log in ServiceNow should be consulted for more information.