- 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-23-2015 04:22 AM
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2015 04:25 AM
** Sorry for name mistake GREG,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2015 04:36 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2015 04:48 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2015 05:14 AM
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