Skip to main content
Question

Best practice for monitoring Workspace success/failure using Email

  • November 12, 2020
  • 3 replies
  • 91 views

johannafalk
Contributor
Forum|alt.badge.img+8

Hello FME Community!

In my company, we have several workspaces which run on a regular interval. Some are simple schedules and most are inside automations also triggered by schedules.

The goal is to inform specific people inside my company via email if a workspace failes to run on the server.

Up to now, we have implemented topics and subscriptions to those topics that people get emails. However, since the email, triggered from a topic, does not contain any information about the workspace which failed inside the automation, I am not sure if this is the way to go.

I also thought about sending emails directly from the automations. But since it does not offer any templates, I have to fill the email content manually (considering that multiple people receive the email, it requires quite some manual effort).

Could you offer me some guidance, or best practice how to implement a notification service that is suitable for our need?

Thanks,

Johanna

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

redgeographics
Celebrity
Forum|alt.badge.img+60
  • Celebrity
  • 3704 replies
  • November 12, 2020

You could set up an email-sending-workspace and trigger that through the automations. You can hook up the email-sending-workspace parameters to keys coming out of the other workspaces. Still would take a fair amount of prep, but I think this way you can minimalize it by re-using the workspace.

Use an Emailer transformer inside it so you don't have to enter the mailserver details every time.


hkingsbury
Celebrity
Forum|alt.badge.img+63
  • Celebrity
  • 1632 replies
  • November 16, 2020

With your current setup you should be able to pass a message through to you topic, that will then send it on to the subscription.

 

This message

Screenshot 2020-11-17 082530gives this email

Screenshot 2020-11-17 082545It wouldn't surpise me if there were more parameters avaliable to use that havent been exposed to the UI

 

 


johannafalk
Contributor
Forum|alt.badge.img+8
  • Author
  • Contributor
  • 2 replies
  • December 4, 2020

With your current setup you should be able to pass a message through to you topic, that will then send it on to the subscription.

 

This message

Screenshot 2020-11-17 082530gives this email

Screenshot 2020-11-17 082545It wouldn't surpise me if there were more parameters avaliable to use that havent been exposed to the UI

 

 

The problem is that I cannot get any information on the workspace which failed. Just about the automation.

I used the parameters which are used in the normal email and I am receiving messages like this:

 

The Job _undefined_/_undefined_ with ID _undefined_ on FME Server NT0 failed!

It was requested at _undefined_, started at _undefined_ and finished at _undefined_.

Automation Name: _undefined_