Skip to main content
Hi,

I have another FME Server query!

I have successfully uploaded an FME workbench to FME Server 2019.1 with a Data Download Service. When I run the workspace in FME Server the Data Download Service works fine.

I would also like the Data Download Service to work with a scheduled job which I have set up using Automations. However whenever this scheduled job runs, the Data Download Service does not work and the files are output to the shared directory rather than a zip file to download.

Is it actually possible for the Data Download Service to work in a scheduled Automation? I thought maybe I could add the hyperlink to the zip file to an email, but I can't work out how to do that.

Thanks

Hi @aquamarine,

 

 

This kind of question has already been asked a few times (although not specific to automations):

 

https://knowledge.safe.com/questions/59695/scheduled-job-data-download-not-included-in-email.html

 

 

https://knowledge.safe.com/questions/65259/retrieve-data-download-url.html

 

 

 

My recommendations would be:

 

1. Send it as an attachment if you can

 

 

2. The Data Download doc explains how you can set up the Data Download to run as a schedule:

 

https://docs.safe.com/fme/html/FME_Server_Documentation/ReferenceManual/service_datadownload.htm

 

For this, as you'd be making a HTTP Request and telling it to run later, you could do this with a HTTP Action in automations. You'd then need to set up the emailing (which might be legacy notifications + topics)

 

 

3. Have a workspace that makes a HTTP request to the Data Download service and get the data url from the response and send the email within that workspace. In FME Server 2020+ you'd be able to use the automations writer and pass this value out to the Email action.

Reply