Skip to main content
Solved

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

  • October 25, 2023
  • 1 reply
  • 43 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

View original
Did this help you find an answer to your question?

1 reply

hkingsbury
Celebrity
Forum|alt.badge.img+52
  • Celebrity
  • 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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings