Solved

Trigger email notification after TXT line writer completes?

  • 25 October 2019
  • 1 reply
  • 8 views

Badge

I have a process that writes a number of text files. Just figured out how to populate an email with a number of pieces of information about each runtime, time, feature count, etc. But it's basically sending the email in parallel with the writer finishing up. I would like to have the writer trigger the email, similar to how it's described here.

https://knowledge.safe.com/questions/4963/sending-mail-in-fme-desktop.html

I can replace my TXT writer with a feature writer and write to TXT but there appears to be no fanout feature with the FeatureWriter? if that's so, is there another way to have the email kick off only after text writer completes?

icon

Best answer by jdh 25 October 2019, 20:53

View original

1 reply

Badge +22

The Dataset parameter of the FeatureWriter can act as a fanout because you can use the Editor to set it and reference any attributes.

ex. D:\\rootdir\\@Value(_attr1)\\@Value(_attr2).txt

 

Reply