Skip to main content
Solved

Is it possible to attach a file with an unknown filename to the Email External Action?

  • September 1, 2021
  • 2 replies
  • 45 views

timboberoosky
Contributor
Forum|alt.badge.img+7

I'm trying to attach a file to the Email External Action in an Automation that always has a different filename (date/time) but is in the same location, and is the only file in the folder. I've added this folder as a resource and tried to use a * wildcard but it fails to send the email. If I give the exact filename, the email sends successfully with the attachment. Also, I can do this successfully using the Emailer transformer in a Workspace and feeding it the exact name via a Text File Reader, but I'd rather use the External Action in Automations if possible.

Any thoughts?

Thanks!

 

Best answer by hollyatsafe

Hi @timboberoosky​ ,

The Email External Action does not currently support using a wildcard in the Email Attachment file path. FME Server sees the asterisk as an illegal character that invalidates the path. In my testing, the email will still send successfully but without the file attached.

 

Please consider posting an idea to request an enhancement to support this.

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.

2 replies

Forum|alt.badge.img+2
  • 719 replies
  • Best Answer
  • September 1, 2021

Hi @timboberoosky​ ,

The Email External Action does not currently support using a wildcard in the Email Attachment file path. FME Server sees the asterisk as an illegal character that invalidates the path. In my testing, the email will still send successfully but without the file attached.

 

Please consider posting an idea to request an enhancement to support this.


timboberoosky
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • 50 replies
  • September 1, 2021

Hi @timboberoosky​ ,

The Email External Action does not currently support using a wildcard in the Email Attachment file path. FME Server sees the asterisk as an illegal character that invalidates the path. In my testing, the email will still send successfully but without the file attached.

 

Please consider posting an idea to request an enhancement to support this.

Thanks @hollyatsafe​ . I can use the Workspace itself to send the email, it just would have been simpler to do it right in the Email External Action. I'll post an idea as suggested.

Thanks!