Skip to main content
Best Answer

FME Server Job hold and resubmit 1 hour later

  • March 27, 2018
  • 1 reply
  • 40 views

hlouie
Contributor
Forum|alt.badge.img+16

Right now I test if MTF (manged file transfer site) or UNC file location are going to pass, because what's the point of proceeding if network IT services are not available for file storage. If I terminate I'll have the find failed email and manually resend to FME Server.

 

Is this possible for FME Server to hold the job and resubmit in an hour instead of just terminating?

Best answer by todd_davis

Hi,

There are a couple of options, such as using a decelerator but then the job will sit there running for a hour (using an engine), which is a huge waste.

The way I have approached something similar, was to create a a scheduled job using the FME Server rest api. So in other words, if the "check mft exists" fail, then use an httpcaller to set a schedule for an hour in advance that will use the same information (you may need to have a different branch that starts the process off...e.g assume you are firing this on a notification currently). Have a look at <your server>/fmerest/apidoc/v3/#!/schedules/schedule_post_1 for details.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

todd_davis
Influencer
Forum|alt.badge.img+23
  • Influencer
  • Best Answer
  • March 27, 2018

Hi,

There are a couple of options, such as using a decelerator but then the job will sit there running for a hour (using an engine), which is a huge waste.

The way I have approached something similar, was to create a a scheduled job using the FME Server rest api. So in other words, if the "check mft exists" fail, then use an httpcaller to set a schedule for an hour in advance that will use the same information (you may need to have a different branch that starts the process off...e.g assume you are firing this on a notification currently). Have a look at <your server>/fmerest/apidoc/v3/#!/schedules/schedule_post_1 for details.