When incident is Created then system should send email notification to caller manager via event?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-22-2023 04:12 AM
When incident is Created then system should send email notification to caller manager via event?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-22-2023 04:37 AM
We can directly create Notification when incident is created but you want it via event then follow below steps :
Step 1 : Create Event registry
System policy >> Events >> Registry
Click on "New" & create new record
Event Name : incident.send.to.manager
Step 2 : Go to Notifications >> Create New
Set below things highlighted in yellow
Send when : Event is fired
Event Name : incident.send.to.manager // just created in step1
Select Advance view - in related links
and in Who will receive tab select
Step 3 : Create business rule on "Incident" Table
When to run - After insert
script :
(function executeRule(current, previous /*null when async*/) {
var callerManager = current.caller_id.manager;
gs.eventQueue('incident.send.to.manager',current,callerManager);
})(current, previous);
ServiceNow Developer
I know one thing, and that is that I know nothing.
- Socrates

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-22-2023 04:39 AM
Hi,
Here is one suggestion, you can create a Flow that triggers on creating of incident, and runs an action of either trigger notification or use Send email action, and send the email to the manager of the caller of the incident.