scheduled job Triggering events but Notification email Not Triggering

BiswalNayak
Tera Contributor

Hi Team, I have implemented a solution where I configured a Scheduled Job, created a custom Event, and set up a corresponding Email Notification. The scheduled job is running successfully and triggering the event using gs.eventQueue(). I have verified this in the Event Log (System Policy → Events → Event Log), and I can see that the events are getting generated with the correct parameters. However, the issue is that email notifications are not being triggered to the assignment group of that incident . I checked the Email Logs (System Logs → Emails), and there are no records being created for this notification.
What I have verified so far:
Scheduled Job is running properly
Event is correctly registered and triggered (incident table)
Event name matches in both script and notification
Event records are visible in Event Logs
Notification is active and configured (incident table) to trigger on the event.

I have attached my script with notification picture. Please give suggestions to trigger the email in the incident assignment group means it will trigger to all the members of that group.

2 REPLIES 2

Tanushree Maiti
Giga Patron

Hi @BiswalNayak 

 

1.  Ensure the members of the assignment group have Notification enabled on their sys_user profiles and that their primary email addresses are populated correctly

 

2. If you are passing an Assignment Group (or its corresponding members) dynamically through gs.eventQueue() , make sure - receipent you are passing property to notification.

  • Open the Email Notification form and go to the Who will receive tab.
  • Check the box for Event parm 1 contains recipient.

3.  Verify that your Email Notification is configured on the exact same table as the incident event  like incident table.

 

 

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

Hi,

Thank you for your suggestions.
I have already verified the points mentioned:

The Assignment Group members have email addresses populated and notifications are enabled on their user profiles.
In the Notification configuration, I have enabled “Event parm 1 contains recipient” since I am passing the Assignment Group through gs.eventQueue().
The Notification is configured on the same table (Incident) as defined in the Event Registry.
I have also attached the screenshot of my Notification configuration for reference.

Additionally, I can see that:
Events are getting triggered successfully (visible in Event Logs)
However, no entries are being created in Email Logs, and emails are not being sent

Despite verifying all of the above, the notification is still not triggering.
Could you please help identify if there is anything else I might be missing or any additional configuration that needs to be checked?

Thanks in advance for your help!