Are you only using FeatureWriters, or are you also using "classic" writers?
Hi @avanbijleveld, maybe try using the FeatureHolder transformer before the Sampler? If you are using FeatureWriters, maybe one is completing first and triggering the Emailer. The FeatureHolder should force the wait until all others are complete.
Are you only using FeatureWriters, or are you also using "classic" writers?
Thanks for your remark! I was not aware of the FeatureWriter, as I've only recently had the upgrade from FME2011 to FME2017. But the solution was using the FeatureWriter instead of the "classic" writers, and linking the Emailer to the Summary-port.
Thanks for your remark! I was not aware of the FeatureWriter, as I've only recently had the upgrade from FME2011 to FME2017. But the solution was using the FeatureWriter instead of the "classic" writers, and linking the Emailer to the Summary-port.
The issue is that the regular writers can continue writing for quite some time after the last transformer has terminated, which means that the Emailer may send out a mail before all the data has been written.
By using the FeatureWriters you're effectively forcing FME to finish all the writing before continuing at the Summary port, which makes it a much better option for this scenario.