Skip to main content
Solved

Automation sends 8 emails when I only want it to send 1 or 2

  • October 25, 2023
  • 1 reply
  • 55 views

vxn43
Supporter
Forum|alt.badge.img+18

I have a workspace that includes two Emailers that send emails based on what file is added to a folder. If a zero byte file is added to Folder A then an email will be sent; if a file that is more than zero bytes is added to Folder A then an email will be sent. It runs good in FME Form, it send two emails one notifying the recipient of a zero byte file added to Folder A and one email notifying the recipient of a non-zero byte file added to Folder A.

 

But, after I publish this workspace to FME Flow, and create an Automation with the Directory Watch Trigger (triggered only when CREATE .... new file is added to the folder) that kicks off the workspace, it sends me 8 emails. Is this a bug with using the Emailer Transformer? I notice that in FME Flow I cannot view the Emailer parameters as I can with other Transformers.

 

Any ideas on how I can get this Automation to send me only two emails?

 

Best answer by hkingsbury

I think you should be able to use a split-merge block to aggregate your messages so you only send one email

http://docs.safe.com/fme/2021.1/html/FME_Server_Documentation/WebUI/Automations-Actions/Merging-Messages.htm

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.

1 reply

hkingsbury
Celebrity
Forum|alt.badge.img+63
  • Celebrity
  • 1632 replies
  • Best Answer
  • October 25, 2023

I think you should be able to use a split-merge block to aggregate your messages so you only send one email

http://docs.safe.com/fme/2021.1/html/FME_Server_Documentation/WebUI/Automations-Actions/Merging-Messages.htm