Event being fired but email notification not being created

int123
Kilo Contributor

I have an event that is triggered through a run script activity in a request item workflow. The event is fired correctly and i can see it in the event logs.

I also have an email notification created to send whenever the event is fired with no other conditions. The subject and body also have just "test" written in them.

The email notification is not being triggered, I can see in the logs the other emails that get sent for the requested item such as "request item has been opened on our behalf" and "approval request" emails. However, this one notification that requires this event to be triggered does not work.

1 ACCEPTED SOLUTION

Yes, I understand what the problem is, I just wanted to get more information, which you're revealing now.

So taking in to account the 4 things you listed above...we can then try:

1) Is this notification actually "active"?

2) Is there a condition in the notification (so not only the event firing but a condition set) if so...what is that?

3) For Parm1, while you can use email address...I'd recommend just passing the user's sys_id, so current.request.requested_for instead

4) You've said the notification isn't sending, but are you sure? Have you checked sys_email logs to see that it's not going out and perhaps just going to a spam folder or something?

5) Double-check the event you've specified for this notification to ensure it's really set to: 

createItemNotification

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

View solution in original post

21 REPLIES 21

DirkRedeker
Mega Sage
Hi There is an option, to send notifications to creator. The option is only visible on the advanced view. You need to check this option, or the creator (you in test case) will not receive the email. Let me know if that answered your question and mark my answer as correct and helpful, please. BR Dirk

This option is already checked and it is still not working.

Hi Did you check, if the Event in the Event Registry is defined on the Default Queue? That means, the field 'Queue' on the Event Registration must be empty. Can you send Screenshots of the Event Registry and the Notification definition as well? By the way, is that the only notification, that is NOT working? Meaning, are there other active notifications defined and working in your instance. Because, maybe there is another fundamental issue with sending mails from your instance...?!? Thanks BR Dirk

This Worked for me, thanks very much!

Allen Andreas
Administrator
Administrator

Hello,

Please show your run script that is firing this event, are you adding anything to parm1 or parm2?

In the notification...please check to ensure that the event is listed there...then check who you are sending it to...are you choosing from fields? Or are you using parm1 or parm2 from the event firing...if so...do you have that box or those boxes, checked?

We're all just randomly giving you suggestions and you're coming back with nope, nope, nope, but I don't even see where you've provided enough information to really troubleshoot this.

So if the other notifications are going to the very same user...then it's something to do with this event and the other settings for this notification.

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!