- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2015 04:20 AM
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
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2015 01:51 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2015 12:03 AM
Greg,
From the starting when I'm studying about SN and in Training Section there is a module(Coding on ServiceNow --> Events and notifications) in which user learn about send email notifications. That time I tried to send email notification as their instructions, this problem occurred from that time. Here is the link ServiceNow Developers (Events and notifications) where I studied about this.
And there are some more events exist which have "ready" state.
Example: You all know about "Incidents" Application. In this application whenever an incident is closed then a notification is send. This event also have "ready" state.
Please suggest me what I suppose to do now?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2015 12:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2015 01:21 AM
Thanks Tony,
I checked your link but in this all about if "System Scheduler > Scheduled Jobs > Scheduled Jobs > events process" have state = "queued" and whereas I have "running" state. So how I debug this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2015 01:34 AM
Hi Macarius,
That's fine you have more, the question is how many? Can you check System Diagnostics > Diagnostics Page and see how many events you get while using the system?
Do you have problems with notifications overall or only with this one?
What instance are you using? Are you on SNow dev instance maybe?
Cheers
Greg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2015 01:44 AM
Greg,
I checked System Diagnostics > Diagnostics Page in "system overview", I found that there are 2922 Event Pending.
| ||||||||||||
|
Yes, I have problem with all notifications and Yes I'm using a dev instance.
Is there anything which we need to set in dev instance?