Skip to main content
Solved

FME Server 2020 Emailer Attachment

  • April 9, 2020
  • 4 replies
  • 17 views

warrendev
Enthusiast
Forum|alt.badge.img+26

I just recently upgraded to FME Server 2020.0.1 and noticed the attachments in the emailer transformer wouldn't allow me to specify a file with the direct path of my pdf in the Resources folder. This worked in previous versions of FME Server.

$(FME_SHAREDRESOURCE_DATA)/resources/example.pdf

It did work when I created an attribute with the path and used it as the attachment Source File.

Is this change by design, or perhaps a bug?

 

Invalid File Path

0684Q00000ArAaoQAF.png

 

Valid File Path

0684Q00000ArAatQAF.png

Best answer by hollyatsafe

Hi @warrengis,

I have been able to reproduce the issue you described, the Emailer transformer was recently rebuilt as an FME Hub Package so I believe this is a regression and have filed a bug to get this fixed (FMEENGINE-63993). I will update this post once it is resolved.

I am sorry for the inconvenience, thank you for sharing your workaround.

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

redgeographics
Celebrity
Forum|alt.badge.img+60
  • Celebrity
  • 3704 replies
  • April 9, 2020

I don't have an FME Server 2020 running right now, but can you doublecheck whether or not the path in $(FME_SHAREDRESOURCE_DATA) contains the trailing / or not. That may throw things off.


warrendev
Enthusiast
Forum|alt.badge.img+26
  • Author
  • Enthusiast
  • 121 replies
  • April 9, 2020

I don't have an FME Server 2020 running right now, but can you doublecheck whether or not the path in $(FME_SHAREDRESOURCE_DATA) contains the trailing / or not. That may throw things off.

Hi @redgeographics,

 

 

The full path of the file is $(FME_SHAREDRESOURCE_DATA)/resources/Data_Submission_Reference.pdf. I did get it to work by putting that path inside of an attribute and passing the attribute to the emailer, but was curious as to why this no longer worked by putting the full path inside the emailer.

I just went ahead and updated the workspaces using the attribute value of the path to get it to work.


Forum|alt.badge.img+2
  • 719 replies
  • Best Answer
  • April 9, 2020

Hi @warrengis,

I have been able to reproduce the issue you described, the Emailer transformer was recently rebuilt as an FME Hub Package so I believe this is a regression and have filed a bug to get this fixed (FMEENGINE-63993). I will update this post once it is resolved.

I am sorry for the inconvenience, thank you for sharing your workaround.


warrendev
Enthusiast
Forum|alt.badge.img+26
  • Author
  • Enthusiast
  • 121 replies
  • April 9, 2020

Hi @warrengis,

I have been able to reproduce the issue you described, the Emailer transformer was recently rebuilt as an FME Hub Package so I believe this is a regression and have filed a bug to get this fixed (FMEENGINE-63993). I will update this post once it is resolved.

I am sorry for the inconvenience, thank you for sharing your workaround.

Thanks @hollyatsafe!