I have a workbench intended to run daily on FME Server. It does the usual data transformation stuff and then it email reports to a member of staff once per week.
The report contains information relating to contractor performance over a 30 day period. I only want to send out a report if there's in new activity in the past 30 days.
Currently, I have 9 x reports (one for each contractor). The reports are updated daily.
I want the Emailer transformer to email only those reports containing new activity. I have gotten as far as calculating which reports are valid (i.e. within 30days) and using an Attribute Creator to fanout a new attribute, being the path & filename of the report. The Emailer then reads the fanout parameter as the Source File, picks it up and sends it. The problem is, the Emailer is sending each attachment in individual emails. I want the transformer to recognise which reports are valid and then send them together in a single email.
The image I have attached shows 5 x outputs, being the valid reports. I want the Emailer to read the path & filename associated and then email them in one email. Can this be done? Thanks in advance.