Skip to main content

I have an FME Server workbench that is registered with the data download service, and the download link is correctly included in the success email when ran on-demand. However when scheduled and linked to a default topic (DATADOWNLOAD_ASYNC_JOB_SUCCESS) that the Data Download success email is subscribed too, no download link is contained within the email.

What am I missing?

As far as I know, scheduled jobs are per definition run by the JobSubmitter service (and the Data Download is ignored).

What you can do is have the created data stored on the server (e.g. in the Resources folders) and have the Email look for an attachment in that location.


As far as I know, scheduled jobs are per definition run by the JobSubmitter service (and the Data Download is ignored).

What you can do is have the created data stored on the server (e.g. in the Resources folders) and have the Email look for an attachment in that location.

Hi Erik,

Thank you for your swift reply, when you mention that I can have the email look in a specified location - how is this done? In the JSON for that topic?

Many thanks,

 

Darren

As far as I know, scheduled jobs are per definition run by the JobSubmitter service (and the Data Download is ignored).

What you can do is have the created data stored on the server (e.g. in the Resources folders) and have the Email look for an attachment in that location.

Hi @dbryantgeo,

 

 

Yes, unfortunately the jobSubmitter, DataDownload, and the Scheduler are all different services. So a scheduled job wont fire a DataDownload_Async_Job_Success or JobSubmitter_Async_Job_Success. To help with Eric's suggestion of having the email look for the attachment is this tutorial.

 

 

https://knowledge.safe.com/articles/578/sending-email-part-5-sending-an-email-with-attachm-1.html

 

 


Hi @dbryantgeo,

 

 

Yes, unfortunately the jobSubmitter, DataDownload, and the Scheduler are all different services. So a scheduled job wont fire a DataDownload_Async_Job_Success or JobSubmitter_Async_Job_Success. To help with Eric's suggestion of having the email look for the attachment is this tutorial.

 

 

https://knowledge.safe.com/articles/578/sending-email-part-5-sending-an-email-with-attachm-1.html

 

 

Hi Richard,

 

 

Thank you for your response, do you not feel it's counter-intuitive that a job can be registered with the data download service on upload, then be run and include a download zip (I'm not overly worried about an attachment, just a link - maybe I haven't explained that well here), but not when scheduled?

 

 

Many thanks,

 

 

Darren

 

 


Hi Richard,

 

 

Thank you for your response, do you not feel it's counter-intuitive that a job can be registered with the data download service on upload, then be run and include a download zip (I'm not overly worried about an attachment, just a link - maybe I haven't explained that well here), but not when scheduled?

 

 

Many thanks,

 

 

Darren

 

 

Hi @dbryantgeo,

 

 

I think you are quite clear and I absolutely agree with your comment. Were looking to make that change, and have schedules use other services, but the underlying mechanics prevent this currently. So we have to use the method outlined in the article above. Please let me know if you have further questions.

 


Thank you both for your help, consider this answered!


Reply