Question

Email notification when job fails

  • 8 February 2016
  • 2 replies
  • 58 views

Badge

I'm new to notifications in FME server and I'm trying to create a service that notifies our helpdesk each time a Data Download job fails on our fme server.

I've set up a subscription with the appropriate email settings and subscribed to the DATADOWNLOAD_ASYNC_JOB_FAILURE topic.

I then start topic monitoring on the DATADOWNLOAD_ASYNC_JOB_FAILURE topic and when I test the topic, the email is received exactly as expected.

The problem I have is that topic monitoring stops as soon as I navigate from the manage notifications page or if I refresh the page. Is this supposed to happen? I was assuming that once started, topic monitoring would continue until explicitly told to stop.

Thanks in advance for you help

(Using FME server 2015.1.1)


2 replies

Userlevel 2
Badge +16

In the Articles is a very good description how to set up email notifications:

https://knowledge.safe.com/articles/549/email-in-f...

Hope that helps getting you started.

Badge +5

You can check the values in fmeserverconfig.txt. When the workbench is failed, FME server starts a notification. In this case, it's JOBSUBMITTER_ASYNC_JOB_FAILURE.

 #--------------------------------------------------------------------------
# System Notifications
#--------------------------------------------------------------------------
#NOTIFY_FAILOVER=<TopicName>
#NOTIFY_JOB_SUCCESS=<TopicName>
NOTIFY_JOB_FAILURE=JOBSUBMITTER_ASYNC_JOB_FAILURE

Reply