Email notifications

HansikaM
Tera Contributor

in my form there is a field called expiry date when the date is expired the email notification should be send to the owner which is given already in the form, so i have used event registry and and scheduled job and email notification here the event is triggering but the email isn't sending i have been checking from long but i couldn't find the solution.the checkbox is checking but no email is triggering

HansikaM_0-1779978043107.pngHansikaM_1-1779978090091.pngHansikaM_2-1779978188891.png

 

7 REPLIES 7

brianlan25
Kilo Patron

In your gs.evenQueue user gr.sys_id instead of gr.getUniqueValue(). Also is your event associated to the same table as the notification?

Tanushree Maiti
Giga Patron

Hi @HansikaM 

 

As you are using gs.eventQueue() for triggering notification,

1. Ensure Recipient 

  • Open your Email Notification record.
  • Go to the Who will receive tab.
  • Make sure the Event parm 1 contains recipient checkbox is checked

2. Both your Event Registry and your Email Notification must be configured on the exact same table 

3. The email will  skip sending completely if the user's profile is misconfigured

  •     Ensure in sys_user profile, user's (recipient's) notification is enabled,
  • Verify that the user record is marked as Active and not locked out.

 

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

Rakesh_M
Kilo Sage

Hi @HansikaM ,
1.Navigate to sysevent.list and check whether the event is getting fired.
2.If event is fired make sure the state is processed.
3.If everything is good with event 

  • Open your notification.
  • Click the Preview Notification  button.
  • Select the specific record that triggered your event.
  • Look at the User Recipients panel. Any user highlighted in red or crossed out is being actively skipped by the system, and hovering over them will show you the exact reason .