The ServiceNow Emergency Change Approval workflow alerts members of your Change Approval group via xMatters. Notifications are delivered via voice, SMS, mobile app, email, and other xMatters devices to ensure approvals don’t delay resolution of critical incidents. By leveraging xMatters with your existing ServiceNow Emergency Change Approval process, you can eliminate manual callouts and reduce the time it takes to approve or decline emergency change requests.
- ServiceNow
- Everbridge Flow Designer app (ServiceNow Store)
- ServiceNow xMatters workflow (Flow Designer)
- xMatters account — if you don't have one, get one
- Emergency Change Approval xMatters workflow: ServiceNowEmergencyChangeApproval.zip
- Log in to xMatters.
- Click Workflows from the left-hand navigation menu.
- Import the ServiceNow Emergency Change Approval workflow from this repo.
- Edit the ServiceNow Emergency Change Approval workflow you just imported.
- Go to the Flow Designer tab.
- Click Components → Endpoints.
- Click ServiceNow.
- Configure the ServiceNow endpoint (see Flow Designer Endpoints).
Documentation: ServiceNow Record Alerts Trigger
- In ServiceNow, go to Everbridge Flow Designer → Global Settings → Trigger Profiles.
- Click New (upper-right corner).
- Fill in the following fields:
- Name: e.g., "Change Approval" — a descriptive name for this trigger profile.
- Credentials: Select the xMatters user credentials configured for this integration.
- If using URL auth, leave this field blank.
- Workflow: e.g., "ServiceNow (Flow Designer) v2". After selecting credentials, the list populates with available Flow Designer workflows.
- If using URL auth, leave the "-- Enter trigger URL manually --" option selected.
- Trigger: e.g., "ServiceNow Records Alerts Approval [sysapproval_approver]". After selecting a workflow, choose the trigger used to initiate the flow.
- Trigger URL: Automatically filled once a trigger is selected.
- If using URL auth, enter the trigger URL manually.
- Default Alert Priority: Select a value to send to Flow Designer (the integration may override based on incident priority).
- Default Signal Mode: Optional free text value sent to Flow Designer; the integration may override based on create/update behavior.
- Additional Recipients: e.g., "CAB Approval" — groups or users from xMatters or Everbridge to notify in addition to the Assignment group/Assigned to.
- ServiceNow API User: Select the ServiceNow user that Flow Designer uses to send updates in ServiceNow.
-
In ServiceNow, navigate to System Definition → Business Rules.
-
Configure the Business Rule with the following settings:
When to run:
- When: after
- Order: 100
- Check: Insert
- Filter Condition: State is Requested
Actions: no actions required
Advanced: Paste the following script:
var myConfig = { "triggerProfile": "Change Approval", "signalMode": "Approval", "alertPriority": "Medium" }; var FlowDesignerClient = new x_xma_eb_fd.EBClient(config = myConfig); FlowDesignerClient.triggerWorkflow(current, previous);
If you want the Emergency Change Approval workflow inside your existing ServiceNow workflow:
- Open your existing ServiceNow workflow.
- Go to the Flow Designer tab.
- Create a new Flow Canvas.
- Name the canvas "Emergency Change Approval".
- Click Create.
- From the Trigger tab, search for "ServiceNow Record Alerts".
- Drag "ServiceNow Record Alerts" onto the canvas.
- Double-click the "ServiceNow Record Alerts" trigger step now on the canvas.
- Select the "ServiceNow" endpoint.
- Select the Approvals
[sysapproval_approver]table. - Select the following output mapping sources:
- Approver
- Approval for
- Approval source
- Due date
- State
- From the Flow Designer TOOLS tab, search for "Create Alert".
- Drag the "Create Alert" step onto the canvas and attach it to the "ServiceNow Record Alerts Approval
[sysapproval_approver]" trigger step you created. - Configure the "Create Alert" step as desired. You can use the imported ServiceNow Emergency Change Approval workflow as a reference.
