Email notification are not sending when an event is trigger

appsicumdisplay
Mega Contributor

Hii All,

        I search a lot about email notification but I don't get any satisfied answer. Many questions don't have any answer and some have suggest that "Checked field(Send to event creator) in Email Notification. I did the same but email are not sending please help me out.

I want to send an email using a event when a condition is met in business rule. My situation is following.

  • Event: exceed_proposed_time
    • Fired by: After new time record redirection
  • Email Notification: Exceed Proposed Time
    • Send to event creator = checked
  • Business Rule: After new time record redirection
    • insert = checked
    • update = checked
    • Script: gs.eventQueue('exceed_proposed_time', current, current.sys_id, "myemail@example.com");

Business rule have met condition: I checked and showing a error message

Event is created: I checked in System Logs -> Events

Email is not sending: Checked my inbox and ServiceNow's "System Mailbox -> outbound -> outbox".

Please let me know where I'm wrong or you need more information.

Thanks-

Macarius

1 ACCEPTED SOLUTION

Hi Macarius,



Nice, now we definitely know what the problem is. Now it's a matter of pinpointing what's causing it. I think there is no shortcut here then just go through those steps:


Diagnosing and remedying stuck event processes



You can also try to log in to your affected nodes and do it yourself:


How do I log into a specific node or cancel a job on a node I'm not logged into?



or just contact SNow and they will be able to do it for you.




Cheers



Greg


View solution in original post

28 REPLIES 28

You can fire a notification When a record is inserted or updated


Email Notifications - ServiceNow Wiki


2.2 Specifying When to Send the Notification

You can define when to send a notification based on the type of triggering event. The instance can send a notification in either of these circumstances.


  • When a record is inserted or updated
  • When a specific event runs

If your Event state = "ready" every time,   this blog may help troubleshooting


3 steps to determine if and why the event processor is unable to start


I don't find any option like "Force delivery" under the "Email Notification" form. Could you please tell where I have to check this option?

- the checkbox is hidden by default, so you should first configure form layout to use the option.


Thanks Epam,


                  Now this is going very bad for me because I configure and checked "Force delivery" option from form layout but nothing happens.


Please help me..



Thanks-


Macarius


Hi Macarius,



Just backtrack a bit.



Double check you have event name - in When to send tab - set to exceed_proposed_time and your notification is active - believe me how many times I saw people using Notification name for triggering events.


If that is set ok you can test it sending to users/groups - to make it simple.


If that works then clear it and check Event param 2 contains recipient check box.




Also double check if you have outbound email set in your dev/test instance. Check that it's turned on and what email address it sends emails to.





Cheers



Greg