span8
span4
span8
span4
I can receive emails at FME Server and trigger a specific workspace if I attach only one of each file type (DWG and PDF) in the same order (DWG before PDF) so that I can specify the published parameter for my SourceDataset_ACAD (which requires a single value) to be the email_publisher_attachment{0} and the published parameter for my SourceDataset_PATH to email_publisher_attachment{1}.
However, I would like to be able to receive an email with any number of attachments, in any order, and filter and apply them correctly to their respective published parameters (potentially more than one DWG, but I would not know how many in advance and/or what order they were received to apply the correct list values). Any ideas or examples of similar implementations would be greatly appreciated. Thank you in advance.
Hi @dane_stephenson,
One option for doing this might be to make use of a ListExploder transformer to create one feature for each incoming attachment. Then use a TestFilter to filter them based on the file extension. Next you could use an Aggregator transformer set to 'Merge Incoming Attributes' and concatenate the email_publisher_attachment attribute with the Separator Character set to a comma to combine multiple DWG file paths into a single attribute that could be passed into the FMEServerJobSubmitter.
Here's a sample workspace showing this idea: none2none.fmw
FMEServer 2019 - Email publication - unable to read attachment 3 Answers
Maximum file size for incoming email? [FME Cloud] 2 Answers
How to collect retrieved logs for FMEServerEmailGenerator 4 Answers
Can the "%ALLUSERSPROFILE%" config variable be changed after FME Server 2016.1 is installed? 1 Answer
© 2019 Safe Software Inc | Legal