Skip to main content
Solved

Email notification subject


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

 

 
View original
Did this help you find an answer to your question?

4 replies

david_r
Celebrity
  • 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+18
  • Safer
  • 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" }


fmelizard wrote:

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+17
  • Supporter
  • April 27, 2017
fmelizard wrote:

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

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings