Skip to main content
Solved

{workspace} and {repository} email template macros return _undefined_

  • January 13, 2017
  • 5 replies
  • 36 views

jess
Contributor
Forum|alt.badge.img+1
  • Contributor
  • 18 replies

I'm attempting to use the following email template with FME Server 2015.1.3.2 :

<fmeblock>

This notification e-mail was generated automatically from FME Server (PROD). Please contact your system administrator or submit a service ticket for support. Do not reply to this e-mail. FME transformation job {id} has FAILED. Workspace: {workspace} Repository: {repository} Status: {StatusMessage} Submitted: {timeRequested} Job Start: {timeStarted} Job End: {timeFinished} Logfile: {logFullPath}

</fmeblock>

{workspace} & {repository} are both returning "_undefined_". All the other macros seem to work fine. Any suggestions?

Best answer by erik_jan

It seems these keywords were not available until FME Server 2016.

See this article: missing keywords

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.

5 replies

Forum|alt.badge.img
  • 173 replies
  • January 13, 2017

I suggest to monitor the topic notified and see if the workspace and repository values are in the json notification data.


erik_jan
Contributor
Forum|alt.badge.img+22
  • Contributor
  • 2179 replies
  • Best Answer
  • January 13, 2017

It seems these keywords were not available until FME Server 2016.

See this article: missing keywords


Forum|alt.badge.img
  • 173 replies
  • January 13, 2017

It seems these keywords were not available until FME Server 2016.

See this article: missing keywords

I agree.

 

This is what I can see on a 2015.1.2 Server:

 

{
    "ws_topic": "CCD_NOTIFICATION",
    "id": "25436",
    "StatusMessage": "Terminator: Aborting Translation as directed by mapping file. Message is 'Unexpected error!'.",
    "LogFileName": "job_25436.log",
    "timeFinished": "Fri-13-Jan-2017 02:27:35 PM",
    "logHome": "C:/ProgramData/Safe Software/FME Server///Logs",
    "timeRequested": "Fri-13-Jan-2017 02:27:30 PM",
    "StatusNumber": "859017",
    "requestKeyword": "JOB_SUBMITTER_SERVICE",
    "jobsuccess_topic": "CCD_NOTIFICATION",
    "jobfailure_topic": "CCD_NOTIFICATION",
    "timeStarted": "Fri-13-Jan-2017 02:27:30 PM"
}

 


geoal
Contributor
Forum|alt.badge.img+4
  • Contributor
  • 9 replies
  • November 27, 2019

Same Problem on FMESerer 2019.1.2

 


Forum|alt.badge.img+2
  • 719 replies
  • December 6, 2019

Same Problem on FMESerer 2019.1.2

 

Hi @virtual,

 

 

Sorry that you are running into this issue, since you are in 2019 can you confirm if you are using Automations or still the old method Email Subscriptions?