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

Hello Greb,



                  Yes I have cross checked these things many times that


In email notification


                  Notification = Active


                  Event name = exceed_proposed_time in "when to send" tab


                  Send when = event is fired


                  Who will receive   = send to event creator(checked)


                  Send event creator = checked


                  Event param 2 contains recipient = checked



And I also try to sending it users/groups but nothing goes in my favour. Please give a direction that what I have to do now?


** Sorry for name mistake GREG,


Hi Macarius,



I'm curious about one thing. You have mentioned previously about the state being stuck at ready. Are you talking about the event log state or actual notification state? If that's the event state then I think it would be a question to SNow team to find out what's going on in your instance.




No worries typos happen




Cheers



Greg


Thanks Greg for begin kind,


                 


                  For the state I'm taking about "System Logs"-->"Events"-->State = "ready". Please help me out this I spend 2 days in it but not moving forward.


Hi Macarius,



Is this the only event that gets stuck or you have more records with ready state in your instance? Do you get other notifications or have problems with those too?




Cheers



Greg