Skip to main content
Solved

FME Server 2020 Emailer Attachment


warrendev
Enthusiast
Forum|alt.badge.img+24

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.

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

4 replies

redgeographics
Celebrity
Forum|alt.badge.img+50

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+24
  • Author
  • Enthusiast
  • April 9, 2020
redgeographics wrote:

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
  • 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+24
  • Author
  • Enthusiast
  • April 9, 2020
hollyatsafe wrote:

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!


Reply


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