Skip to main content
Solved

Email notification subject

  • September 8, 2015
  • 4 replies
  • 20 views

Forum|alt.badge.img
I have set up an email notification to fire me an email when the workspace has successfuly run.  I am curious as to how I get the name of the workbench that has run to be my subject line? 

 

 

Do I need to creat a seperate email notification for everyworkspace I want published?

 

 

NOTE: I do not want to use python.

Best answer by david_r

Hi

 

 

Looking at the template keywords (http://docs.safe.com/fme/2015/html/FME_Server_Documentation/Default.htm#ServerCore/Email_Templates.htm), I doesn't seem possible to include the workspace name. I think your best bet is to either use the FMEServerEmailGenerator (https://store.safe.com/transformers/fmeserveremailgenerator) or the PythonEmailer (https://store.safe.com/transformers/pythonemailer) (don't worry, you don't have to write a single line of code). Both are available on the FME Store.

 

 

David

 

 
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.

4 replies

david_r
Celebrity
  • 8394 replies
  • Best Answer
  • September 8, 2015
Hi

 

 

Looking at the template keywords (http://docs.safe.com/fme/2015/html/FME_Server_Documentation/Default.htm#ServerCore/Email_Templates.htm), I doesn't seem possible to include the workspace name. I think your best bet is to either use the FMEServerEmailGenerator (https://store.safe.com/transformers/fmeserveremailgenerator) or the PythonEmailer (https://store.safe.com/transformers/pythonemailer) (don't worry, you don't have to write a single line of code). Both are available on the FME Store.

 

 

David

 

 

fmelizard
Safer
Forum|alt.badge.img+20
  • Safer
  • 3719 replies
  • January 5, 2016

This is now possible in FME Server 2016.0 The JSON that is passed contains the repository, workspace name and log URL. Like this:

{ ... "repository": "Samples", "workspace": "austinApartments.fmw", "logUrl": "http://localhost:8080/fmerest/v3/transformations/jobs/id/1/log" }


This is now possible in FME Server 2016.0 The JSON that is passed contains the repository, workspace name and log URL. Like this:

{ ... "repository": "Samples", "workspace": "austinApartments.fmw", "logUrl": "http://localhost:8080/fmerest/v3/transformations/jobs/id/1/log" }

would you also be kind to tell us how to do it? (to insert the JSON srting into the e-mail subject)?

itay
Supporter
Forum|alt.badge.img+18
  • Supporter
  • 1442 replies
  • April 27, 2017

This is now possible in FME Server 2016.0 The JSON that is passed contains the repository, workspace name and log URL. Like this:

{ ... "repository": "Samples", "workspace": "austinApartments.fmw", "logUrl": "http://localhost:8080/fmerest/v3/transformations/jobs/id/1/log" }

My guess is that @aaronkoning means that in 2016 there are new tags, such as workspace and log that can be used the same way template keywords work