Skip to main content

Hello,

I have automation which triggers a workbench and has to send result file on email in the end.

The resulted excel file has dynamic name with @DateTimeNow parameter.

How to set that automation takes the correct file? If I add fixed name, it works fine but I don’t know how to make it for dynamic name. Could anyone help, please?

Do you send the email using an Emailer transformer in the workspace? Then use a FeatureWriter to write the file and initiate the Emailer, and use the filename from the summary feature.


Thanks for the reply. No, I use Action in the Automation itself:

 

 


Do you send the email using an Emailer transformer in the workspace? Then use a FeatureWriter to write the file and initiate the Emailer, and use the filename from the summary feature.

Thank you! I have adjusted my process using Emailer and set it to attach output _dataset and it works as expected. 

 


The path to the file is in the dataset attribute.


You can use the Automation writer to send the filename from your workspace back to the automation:

https://docs.safe.com/fme/html/FME-Form-Documentation/FME-ReadersWriters/automations/automations.htm


Thanks David learned something new today. I expected it to be possible but never used it myself.


Reply