What is Event ?what is relation between Event and Notification?

Sagar_pawar
Tera Contributor

Hello All,

I am new to ServiceNow development I am confused about what is the event. what is the relationship between an event and a notification .can anyone please guide me on this with a simple example?

Thank You.

 

3 REPLIES 3

Taha Habib
Tera Guru

Hello Abhi,
The relationship between event and notifications can be defined as "Notifications can be triggered by events."

Notifications examples are email notifications, sms notifications etc. 
Events are basically the indications or flags that indicates something has occurred in your system.


For ex: One of your CI went down due to a malware, this can create an event which can trigger notification to the admin that something is wrong with their system.

I hope the following explanation helps you. If you find this answer helpful, please mark it as helpful and correct. Thank you.

RaghavSh
Kilo Patron

@Sagar_pawar Refer: https://www.servicenow.com/community/developer-forum/schdld-jobs-and-events/m-p/2425355#M945196 

 

Both event and notifications are explained here with example.


Please mark the answer correct/helpful accordingly.


Raghav
MVP 2023

Kartik Choudha1
Tera Guru

Quick overview:

KartikChoudha1_0-1671882709415.png

KartikChoudha1_1-1671882757913.png

 

 

To create an event you need to create a record in Event Registry Table.

Once the event is triggered, you can check the logs of event in 'Event Logs'.

 

Note - This is just an overview. For details you can refer below links to see the demonstration of each fields present in Event form/record and notification.

 

Events:

https://docs.servicenow.com/en-US/bundle/tokyo-platform-administration/page/administer/platform-even...

 

Notifications:

https://docs.servicenow.com/bundle/rome-servicenow-platform/page/administer/notification/reference/n...

 

For practical live example, refer below -

https://youtu.be/K4J9oay7Zwk

 

Hope this helps!

Regards,

Kartik