简体   繁体   中英

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

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM