email notifications in custom application

david_walters
Mega Expert

Recently created a custom application and the email notifications that go with it.

I have a few notifications, but lets take the basic one as an example (screenshot below). It's set to send to myself and all the other notifications for Incident etc work fine. The difference here is that this is a custom app. Is there a setting at the application level to enable notifications? Is there any other reason why these wouldn't be firing?

find_real_file.png

1 ACCEPTED SOLUTION

david_walters
Mega Expert

I got somewhere with this via the HI system.



The custom application has its own scope, as custom applications do. The table in the app extends the task table, which is in the global application, i.e. outside of its own scope. Notifications don't work for when you're extending a table outside of its native scope. I've tested and confirmed this with a guy from HI.



We're seeing if this is by design or a problem.



Either way, it doesn't solve my problem.


View solution in original post

15 REPLIES 15

Thanks, Jose.



I've checked this and there no logs for the target, so it looks like the notification_engine.process is not firing. I cant see why this is as the conditions should be met each time a new record is created.



Any ideas? Or what I can give you to help figure out what is happening?



- David


OK, I've managed to track down an event log entry for the notification_engine.process for an event I triggered today that I think should have created an email notification. But the event log has a state of "error" - why is this?



find_real_file.png


Hi David,



Needed to clear some things first.


1) When you said, you created 'a custom application and the email notifications that go with it.'; you mean, you have created the event and BR required for           this notification.


2) You have already checked the email outbox and sent to verify if any notification has been sent or not.



Are above 2 things are correct?



Raj



Hi,



I have built a custom application, I then created email notifications that are related to the table in that custom application.



I have not created any Business Rules.



There is nothing in the outbox or sent lists to show that any notifications have been sent.



It looks like the notifications just arent being generated.



thanks,



David


rajmasurkar
Giga Guru

Hi David,



In that case, you need to create event and business rules to send the email notification.


Notifications - ServiceNow Wiki . This url will guide you.


If you still have some query, do reply.




Raj