Manage Notification Policies for ServiceNow
Who can use this feature
Anyone with these permissions: Manage notification policies
Create a notification policy so that Eon creates an incident in your ServiceNow service desk when a subscribed event happens.
A notification policy can send notifications to a single ServiceNow instance. To send notifications to multiple instances, you’ll need to create a separate notification policy for each.
Eon connects to your ServiceNow instance with a username and password, or with an OAuth application. Choose one method:
-
Create a notification policy with an OAuth application. Use OAuth when your organization doesn’t permit username and password authentication for ServiceNow integrations.
Create a notification policy with a username and password
With this method, you create a dedicated API user in ServiceNow and provide its username and password to Eon.
Before you start
Make sure you have admin access to your ServiceNow instance.
Find your ServiceNow instance URL
Your ServiceNow instance URL is the address you use to log in to ServiceNow. You’ll enter this URL when configuring the notification policy in Eon.
-
Log in to your ServiceNow instance as an admin.
-
Copy the URL from your browser’s address bar. The instance URL is the full hostname, including the protocol (for example,
https://yourcompany.service-now.com). -
Save the URL in a temporary location so you can provide it to Eon later.
Create an API user
In this step, you’ll create a dedicated machine user in ServiceNow that Eon will use to create incidents.
-
In ServiceNow, navigate to User Administration → Users.
-
Click New. The User - New Record page opens.

-
Fill in User ID and First name with values that convey the user’s purpose (for example,
eon_notificationsfor user ID andEon Notificationsfor first name).Set Identity type to Machine, and keep Active selected.
Save the user ID to a temporary location so you can provide it to Eon later.
-
Click Submit.
You’re redirected to the user list.
Assign the required role
The API user needs a role that allows it to create incidents in ServiceNow.
-
In the user list, find and open the user you just created.
-
At the bottom of the user page, click the Roles tab, and then click Edit….
-
Add the
sn_incident_writerole. -
Save the role assignment.
Generate the user's password
In this step, you’ll generate a password for the API user. You’ll enter it in Eon in the next step, so keep this tab open.
-
At the top of the user’s page, click Set Password. The password dialog opens.

-
Click Generate to create a password.
-
Copy the password and save it to a temporary location so you can provide it to Eon later.
-
Click Save Password.
Create the notification policy in Eon
In this step, you’ll enter the ServiceNow credentials from the previous steps. Log in to your Eon project to complete this step:
-
In your project’s Notification Policies page in the Eon console, click Create Notification Policy. The Create a Notification Policy wizard opens.
-
Enter a Notification policy name that describes the ServiceNow instance notifications will be sent to.
-
Choose the ServiceNow notification channel type, then click Next.
-
Set these values:
-
Click Next to continue.
Choose the notifications to send
-
Pick the events you want to subscribe to.
-
Optionally, set event conditions to filter which events trigger notifications:
To filter notifications to specific events, turn Apply event conditions on. With conditions turned on, you’ll receive notifications only for events that match the conditions you set.
To leave Apply event conditions off, you’ll receive notifications for all events of the selected types.
When you turn Apply event conditions on, click Set Condition to choose the event properties you want to filter by. You can filter by vaults, backup policies, resources, or source accounts.
You can set a simple AND or OR list of conditions, or you can group conditions for fine-tuned event filtering.
See how to work with conditions and groups
Work with conditions
-
To add a condition: Click (Add condition), then select the property, operator, and value for the condition.
-
To add a condition within a group: Click the large (Add condition) button in the group, or select (Add condition) > Add condition > Above or Below. Then select the property, operator, and value for the condition.
-
To delete a condition: Click the condition’s (Actions) menu, then click Delete condition.
For each condition, set the property, operator, and value.
Work with groups
-
To nest an existing condition or group in a group: In an existing condition or group, click (Actions) > Create group. Select the group’s logical AND or OR operator.
-
To delete a group and all the conditions it contains: Click the group’s (Actions) menu, then click Delete group.
-
-
When you’re done, click Create.
If Eon can’t create the notification policy, check that the instance URL, API username, and password are correct, and that the API user has the required role.
The notification policy is created.
About a minute later, Eon creates one incident titled Notification Policy Created: <policy_name> in your ServiceNow service desk.
To find it, open Service Desk → Incidents in ServiceNow.
Eon assigns these ServiceNow attributes to each incident, by event type:
Create a notification policy with an OAuth application
With this method, you register an OAuth application in ServiceNow and provide its client ID and client secret to Eon. ServiceNow screens and labels can differ by release.
Before you start
Before you create the notification policy, make sure:
-
You have admin access to your ServiceNow instance, including permission to create system properties.
-
Your ServiceNow instance is on the Washington DC release or later, which introduced the client credentials grant for inbound calls. For details, see Inbound Client Credentials with Washington DC.
Find your ServiceNow instance URL
Your ServiceNow instance URL is the address you use to log in to ServiceNow. You’ll enter this URL when configuring the notification policy in Eon.
-
Log in to your ServiceNow instance as an admin.
-
Copy the URL from your browser’s address bar. The instance URL is the full hostname, including the protocol (for example,
https://yourcompany.service-now.com). -
Save the URL in a temporary location so you can provide it to Eon later.
Turn on the client credentials grant
In this step, you’ll turn on the client credentials grant for your ServiceNow instance, as described in Create the Client Credentials system property.
-
In ServiceNow, enter
sys_properties.listin the navigation filter. The System Properties list opens. -
Search the list for
glide.oauth.inbound.client.credential.grant_type.enabled. -
If the property exists, open it, set Value to
true, and save it. -
If the property doesn’t exist, click New and set these values:
Create the property in the Global application scope. You can also add an optional Description.
Save the property.
Create the application user
In this step, you’ll create the user that Eon uses to create incidents.
-
In ServiceNow, navigate to User Administration → Users.
-
Click New. The User - New Record page opens.
-
Fill in User ID and First name with values that convey the user’s purpose (for example,
eon_notificationsfor user ID andEon Notificationsfor first name).Keep Active selected. You don’t need to set a password for this user.
-
Click Submit.
You’re redirected to the user list.
Assign the required role
The user needs a role that allows it to create incidents in ServiceNow.
-
In the user list, find and open the user you just created.
-
At the bottom of the user page, click the Roles tab, and then click Edit….
-
Add a role that permits the user to create incidents in ServiceNow.
-
Save the role assignment.
Create the OAuth application
In this step, you’ll register the OAuth application that Eon uses to connect to ServiceNow, as described in Create an endpoint for clients to access the instance.
-
In ServiceNow, navigate to System OAuth → Application Registry.
-
Click New.
-
Select Create an OAuth API endpoint for external clients.
-
Enter a Name that conveys the application’s purpose (for example,
Eon Notifications).Leave Client Secret empty. Leave the other fields at their defaults. ServiceNow generates the client ID and, when you save, the client secret.
-
Save the application.
Set the application user and grant type
In this step, you’ll add the OAuth Application User and Default Grant type fields to the application form and set their values, as described in Add OAuth Application User.
-
In the Application Registry, open the application you just created.
-
In the ServiceNow menu in the upper left, select Configure → Form Design.
-
Add the OAuth Application User and Default Grant type fields to the form, and save the form design.
-
In OAuth Application User, select the user you created.
-
Set Default Grant type to Client Credentials.
-
Save the application.
Copy the client ID and client secret
ServiceNow shows the client credentials on the application form.
-
In the application form, copy the Client ID and save it to a temporary location so you can provide it to Eon later.
-
Click the lock icon next to Client Secret to show the secret.
-
Copy the client secret and save it to a temporary location so you can provide it to Eon later.
Create the notification policy in Eon
In this step, you’ll enter the OAuth application details from the previous steps. Log in to your Eon project to complete this step:
-
In your project’s Notification Policies page in the Eon console, click Create Notification Policy. The Create a Notification Policy wizard opens.
-
Enter a Notification policy name that describes the ServiceNow instance notifications will be sent to.
-
Choose the ServiceNow notification channel type, then click Next.
-
Set these values:
-
Click Next to continue.
Choose the notifications to send
-
Pick the events you want to subscribe to.
-
Optionally, set event conditions to filter which events trigger notifications:
To filter notifications to specific events, turn Apply event conditions on. With conditions turned on, you’ll receive notifications only for events that match the conditions you set.
To leave Apply event conditions off, you’ll receive notifications for all events of the selected types.
When you turn Apply event conditions on, click Set Condition to choose the event properties you want to filter by. You can filter by vaults, backup policies, resources, or source accounts.
You can set a simple AND or OR list of conditions, or you can group conditions for fine-tuned event filtering.
See how to work with conditions and groups
Work with conditions
-
To add a condition: Click (Add condition), then select the property, operator, and value for the condition.
-
To add a condition within a group: Click the large (Add condition) button in the group, or select (Add condition) > Add condition > Above or Below. Then select the property, operator, and value for the condition.
-
To delete a condition: Click the condition’s (Actions) menu, then click Delete condition.
For each condition, set the property, operator, and value.
Work with groups
-
To nest an existing condition or group in a group: In an existing condition or group, click (Actions) > Create group. Select the group’s logical AND or OR operator.
-
To delete a group and all the conditions it contains: Click the group’s (Actions) menu, then click Delete group.
-
-
When you’re done, click Create.
If Eon can’t create the notification policy, check that:
-
The instance URL, client ID, and client secret are correct.
-
The
glide.oauth.inbound.client.credential.grant_type.enabledsystem property istrue. -
The application user has a role that permits it to create incidents.
The notification policy is created.
About a minute later, Eon creates one incident titled Notification Policy Created: <policy_name> in your ServiceNow service desk.
To find it, open Service Desk → Incidents in ServiceNow.
Eon assigns these ServiceNow attributes to each incident, by event type: